Results for spec@arb_gpu_shader5@texturegatheroffset@vs-rgb-1-float-2drect

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.142377
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 sampler2DRect s;
uniform ivec2 o1,o2;
out vec4 c;

void main() {
	gl_Position = pos;
	c = vec4(1) * textureGatherOffset(s, textureSize(s).xy * (0.5 * pos.xy + vec2(0.5))  , 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 float 2DRect clamp -auto -fbo
dmesg

        

Back to summary