Results for spec@arb_gpu_shader5@compiler@builtin-functions@vs-gatheroffset-uniform-offset.vert

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.147177
Stdout
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.50
// require_extensions: GL_ARB_gpu_shader5
// [end config]

#version 150
#extension GL_ARB_gpu_shader5: require

uniform sampler2D s2D;
uniform ivec2 offset;		/* ARB_gpu_shader5 allows this to be uniform
				   rather than constexpr */

void main()
{
	vec4 res = vec4(0);

	res += textureGatherOffset(s2D,	vec2(0), offset);

	gl_Position = res;
}

Stderr
Failed to compile vertex shader /Users/vlee/workspace/piglit/tests/spec/arb_gpu_shader5/compiler/builtin-functions/vs-gatherOffset-uniform-offset.vert: ERROR: 0:18: Argument 3 to function 'textureGatherOffset' must be a constant expression

Environment
PIGLIT_SOURCE_DIR="/Users/vlee/workspace/piglit" PIGLIT_PLATFORM="mixed_glx_egl"
Command /Users/vlee/workspace/piglit/bin/glslparsertest /Users/vlee/workspace/piglit/tests/spec/arb_gpu_shader5/compiler/builtin-functions/vs-gatherOffset-uniform-offset.vert pass 1.50 GL_ARB_gpu_shader5
dmesg

        

Back to summary