Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.336730957031 |
note | Returncode was 1 |
errors |
|
info | Returncode: 1 Errors: Failed to compile vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-size-int.vert: ERROR: 0:16: 'a' : left of '[' is not of type array, matrix, or vector Output: Shader source: /* [config] * expect_result: pass * 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 [int(2.3)] a; void main() { gl_Position = vec4(a[0]); } |