Results for spec@arb_gpu_shader5@texturegatheroffset@vs-rgb-1-int-2darray

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.141452
Stdout

        
Stderr
Failed to compile vertex shader: ERROR: 0:13: Argument 3 to function 'textureGatherOffset' must be a constant expression

source:
#version 150
#extension GL_ARB_explicit_attrib_location: require
#extension GL_ARB_texture_gather: require
#extension GL_ARB_gpu_shader5: require

layout(location=0) in vec4 pos;
uniform isampler2DArray s;
uniform ivec2 o1,o2;
out vec4 c;

void main() {
	gl_Position = pos;
	c = vec4(1.0/255.0) * textureGatherOffset(s, vec3(0.5 * pos.xy + vec2(0.5), 1)  , o1+o2 , 1);
}
Environment
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /Users/vlee/workspace/piglit/bin/textureGather vs nonconst rgb 1 int 2DArray repeat -auto -fbo
dmesg

        

Back to summary