Results for spec/ARB_explicit_attrib_location/1.10/compiler/layout-03.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.266938209534
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.10/compiler/layout-03.frag pass 1.10 GL_ARB_explicit_attrib_location
errors
  • Failed to compile fragment shader tests/spec/arb_explicit_attrib_location/1.10/compiler/layout-03.frag: 0(12) : error C0000: syntax error, unexpected '(', expecting "::" at token "("
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/spec/arb_explicit_attrib_location/1.10/compiler/layout-03.frag: 0(12) : error C0000: syntax error, unexpected '(', expecting "::" at token "("



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.10
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// 'location' must be an integer constant

#version 110
#extension GL_ARB_explicit_attrib_location: require
#define X 1
layout(location = X) out vec4 color;

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

Back to summary