Results for spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.12552690506
note
Returncode was 1
errors
  • Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert:
command
/usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.vert fail 1.20
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-of-array-function-parameter-definition.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

attribute vec4 vert;

void foo(vec4 [2] x[2])
{
  gl_Position = vert;
}

void main()
{
  gl_Position = vert;
}

Back to summary