Results for spec/glsl-1.20/compiler/structure-and-array-operations/array-size-ivec4.vert

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.265000104904
note Returncode was 1
command Z:\piglit\framework/../bin/glslparsertest tests\spec\glsl-1.20\compiler\structure-and-array-operations\array-size-ivec4.vert fail 1.20
errors
  • Successfully compiled vertex shader tests\\spec\\glsl-1.20\\compiler\\structure-and-array-operations\\array-size-ivec4.vert: No errors.
info
Returncode: 1

Errors:
Successfully compiled vertex shader tests\spec\glsl-1.20\compiler\structure-and-array-operations\array-size-ivec4.vert: No errors.


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:
 *
 *     "When an array size is specified in a declaration, it must be an
 *     integral constant expression (see Section 4.3.3 "Constant Expressions")
 *     greater than zero."
 */
#version 120

uniform float [ivec4(2.3,2.3,2.3,2.3)] a;

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

Back to summary