Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.291733026505 |
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-length.vert: ERROR: 0:15: 'length' : no matching method not found ERROR: 0:15: '' : constant expression required ERROR: 0:15: '4-component vector of float' : array size must be a positive integer 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 vec4 [3] a; uniform vec4 [a.length()] b; void main() { gl_Position = vec4(0.0); } |