Results for spec/glsl-1.20/compiler/structure-and-array-operations/array-multidimensional-new-syntax.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.358224868774
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-multidimensional-new-syntax.vert:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-multidimensional-new-syntax.vert fail 1.20
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-multidimensional-new-syntax.vert: 


Output:
Shader source:
/* [config]
 * expect_result: fail
 * glsl_version: 1.20
 * [end config]
 *
 * From page 19 (page 25 of the PDF) of the GLSL 1.20 spec:
 *
 *     "Only one-dimensional arrays may be declared."
 */
#version 120

uniform vec4 [1] an_array[1];

void main()
{
  gl_Position = an_array[0][0];
}

Back to summary