Results for glslparsertest/glsl2/const-array-02.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.888999938965
note Returncode was 1
errors
  • Failed to compile fragment shader tests/glslparsertest/glsl2\\const-array-02.frag: ERROR: 0:14: \'GL_3DL_array_objects\' : extension is disabled
  • ERROR: 0:14: \'constructor\' : too many arguments
  • ERROR: 0:14: \'GL_3DL_array_objects\' : extension is disabled
  • ERROR: 0:14: \'GL_3DL_array_objects\' : extension is disabled
  • ERROR: 0:15: \'a\' : undeclared identifier
  • ERROR: 0:15: \'a\' : left of \'[\' is not of type array, matrix, or vector
  • ERROR: 0:16: \'a\' : left of \'[\' is not of type array, matrix, or vector
  • ERROR: 0:17: \'a\' : left of \'[\' is not of type array, matrix, or vector
  • ERROR: 0:18: \'a\' : left of \'[\' is not of type array, matrix, or vector
  • ERROR: 9 compilation errors. No code generated.
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/glslparsertest/glsl2\const-array-02.frag: ERROR: 0:14: 'GL_3DL_array_objects' : extension is disabled
ERROR: 0:14: 'constructor' : too many arguments 
ERROR: 0:14: 'GL_3DL_array_objects' : extension is disabled
ERROR: 0:14: 'GL_3DL_array_objects' : extension is disabled
ERROR: 0:15: 'a' : undeclared identifier 
ERROR: 0:15: 'a' :  left of '[' is not of type array, matrix, or vector  
ERROR: 0:16: 'a' :  left of '[' is not of type array, matrix, or vector  
ERROR: 0:17: 'a' :  left of '[' is not of type array, matrix, or vector  
ERROR: 0:18: 'a' :  left of '[' is not of type array, matrix, or vector  
ERROR: 9 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 */
#version 120
void main()
{
  const float a[] = float[](0.0, 1.0, 0.0, 1.0);
  const float a0 = a[0];
  const float a1 = a[1];
  const float a2 = a[2];
  const float a3 = a[3];

  gl_FragColor = vec4(a0, a1, a2, a3);
}

Back to summary