Results for spec/ARB_explicit_attrib_location/1.10/compiler/in-04.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.734804153442
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.10/compiler/in-04.frag fail 1.10 GL_ARB_explicit_attrib_location
errors
  • Successfully compiled fragment shader tests/spec/arb_explicit_attrib_location/1.10/compiler/in-04.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/arb_explicit_attrib_location/1.10/compiler/in-04.frag: Fragment shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// From the GL_ARB_explicit_attrib_location spec:
//
//     "Vertex shaders allow input layout qualifiers on input variable
//     declarations."
//
// Just as output layouts are not allowed in vertex shaders, input
// layouts are not allowed in fragment shaders.

#version 110
#extension GL_ARB_explicit_attrib_location: require
layout(location = 0) in vec4 color;

void main()
{
	gl_FragColor = color;
}

Back to summary