Results for spec/ARB_explicit_attrib_location/1.20/compiler/out-01.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.335541963577
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.20/compiler/out-01.vert pass 1.20 GL_ARB_explicit_attrib_location
errors
  • Failed to compile vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/out-01.vert: 0(13) : error C5060: out can't be used with non-varying color
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/out-01.vert: 0(13) : error C5060: out can't be used with non-varying color



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// "out" is allowed in shader output declarations in GLSL 1.20 when
// GL_ARB_explicit_attrib_location is enabled

#version 120
#extension GL_ARB_explicit_attrib_location: require
in vec4 vertex;
out vec4 color;

void main()
{
	gl_Position = vertex;
	color = vec4(1.0);
}

Back to summary