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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.816380023956
note
Returncode was 1
command
/home/airlied/piglit/framework/../bin/glslparsertest tests/spec/arb_explicit_attrib_location/1.20/compiler/out-04.vert fail 1.20 GL_ARB_explicit_attrib_location
errors
  • Successfully compiled vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/out-04.vert: Vertex shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/arb_explicit_attrib_location/1.20/compiler/out-04.vert: Vertex shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.20
// require_extensions: GL_ARB_explicit_attrib_location
// [end config]
//
// From the GL_ARB_explicit_attrib_location spec:
//
//     "Vertex shaders cannot have output layout qualifiers."

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

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

Back to summary