Results for spec/ARB_explicit_attrib_location/1.20/compiler/layout-09.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.259846925735
note Returncode was 1
command /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.20/compiler/layout-09.vert pass 1.20 GL_ARB_explicit_attrib_location
errors
  • Failed to compile vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/layout-09.vert: 0(16) : error C0000: syntax error, unexpected '(' at token "("
  • 0(16) : error C0501: type name expected at token "("
  • 0(16) : warning C7022: unrecognized profile specifier "layout"
  • 0(16) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")"
  • 0(16) : error C0501: type name expected at token ")"
  • 0(16) : error C7537: OpenGL does not allow 'inout' after a type specifier
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/layout-09.vert: 0(16) : error C0000: syntax error, unexpected '(' at token "("
0(16) : error C0501: type name expected at token "("
0(16) : warning C7022: unrecognized profile specifier "layout"
0(16) : error C0000: syntax error, unexpected ')', expecting ',' or ';' at token ")"
0(16) : error C0501: type name expected at token ")"
0(16) : error C7537: OpenGL does not allow 'inout' after a type specifier



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// Even though the specified location is clearly too large, the spec says that
// a *link* error is generated.  The resolution to issue #1 in the
// GL_ARB_explicit_attrib_location spec clearly covers this:
//
//     "RESOLVED.  Generate a link error.  The existing spec language already
//      covers this case..."

#version 120
#extension GL_ARB_explicit_attrib_location: require
layout(location = 0x7fffffff) in vec4 vertex;

void main()
{
	gl_Position = vertex;
}

Back to summary