Results for glslparsertest/glsl2/invariant-02.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.236000061035
note Returncode was 1
errors
  • Failed to compile vertex shader tests/glslparsertest/glsl2\\invariant-02.vert: Vertex shader failed to compile with the following errors:
  • ERROR: 0:19: error(#168) Reserved built-in name gl_FrontColor
  • ERROR: 0:19: error(#178) Illegal use of type \'void\' gl_FrontColor
  • ERROR: 0:19: error(#168) Reserved built-in name gl_BackColor
  • ERROR: 0:19: error(#178) Illegal use of type \'void\' gl_BackColor
  • ERROR: error(#273) 4 compilation errors. No code generated
info
Returncode: 1

Errors:
Failed to compile vertex shader tests/glslparsertest/glsl2\invariant-02.vert: Vertex shader failed to compile with the following errors:
ERROR: 0:19: error(#168) Reserved built-in name gl_FrontColor
ERROR: 0:19: error(#178) Illegal use of type 'void' gl_FrontColor
ERROR: 0:19: error(#168) Reserved built-in name gl_BackColor
ERROR: 0:19: error(#178) Illegal use of type 'void' gl_BackColor
ERROR: error(#273) 4 compilation errors.  No code generated



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.20
//
// # NOTE: Config section was auto-generated from file
// # NOTE: 'glslparser.tests' at git revision
// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
// [end config]

/* PASS -
 *
 * From page 27 (page 33 of the PDF) of the GLSL 1.20 spec:
 *
 *     "The invariant keyword can be followed by a comma separated list of
 *     previously declared identifiers."
 */
#version 120

invariant gl_Position, gl_FrontColor, gl_BackColor;

void main() { }

Back to summary