Results for spec/glsl-1.30/compiler/storage-qualifiers/static-write-vertex-id.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 1.18551397324
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-vertex-id.vert fail 1.30
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-vertex-id.vert: Vertex shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.30/compiler/storage-qualifiers/static-write-vertex-id.vert: Vertex shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// From section 4.3.4 of the GLSL 1.30 spec:
//     Variables declared as in or centroid in may not be written
//     to during shader execution.
//
// From section 7.1 of the GLSL 1.30 spec:
//     These built-in vertex shader variables for communicating with
//     fixed functionality are intrinsically declared as follows:
//         ...
//     in int gl_VertexID;

#version 130

void g() {
    gl_VertexID = 0;
}

Back to summary