Results for glslparsertest/glsl2/pragma-06.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.196012020111
note Returncode was 1
errors
  • Successfully compiled vertex shader tests/glslparsertest/glsl2/pragma-06.vert: (no compiler output)
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/glslparsertest/glsl2/pragma-06.vert: (no compiler output)


Output:
Shader source:
/* FAIL
 *
 * From page 11 (page 17 of the PDF) of the GLSL 1.10 spec:
 *
 *     "[#pragma optimize] can only be used outside function definitions."
 */
void main()
{
#pragma optimize(on)
  gl_Position = gl_Vertex;
}

Back to summary