Results for spec@arb_gpu_shader5@compiler@builtin-functions@fs-gatheroffset-uint-samplers.frag

Overview

Result: fail

Back to summary

Details

Detail Value
Returncode 1
Time 0:00:00.162289
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 usampler2D s2D;
uniform usampler2DArray s2DArray;
uniform usampler2DRect s2DRect;

const ivec2 offset = ivec2(-8, 7);

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

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

	gl_FragColor = vec4(res);
}

Stderr
Failed to compile fragment shader /Users/vlee/workspace/piglit/tests/spec/arb_gpu_shader5/compiler/builtin-functions/fs-gatherOffset-uint-samplers.frag: ERROR: 0:24: Use of undeclared identifier 'gl_FragColor'

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/fs-gatherOffset-uint-samplers.frag pass 1.50 GL_ARB_gpu_shader5
dmesg

        

Back to summary