Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.296263933182 |
note | Returncode was 1 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-equal-implicit-size.vert: (no compiler output) Output: Shader source: /* [config] * expect_result: fail * glsl_version: 1.20 * [end config] * * From page 35 (page 41 of the PDF) of the GLSL 1.20 spec: * * "The equality operators and assignment operator are only allowed if the * two operands are same size and type....Both array operands must be * explicitly sized. When using the equality operators ... two arrays are * equal if and only if all the elements are element-wise equal. */ #version 120 uniform vec4 a[2]; uniform vec4 b[2]; void main() { vec4 c[]; // Implicitly size c to match a and b. c[0] = b[0]; c[1] = b[1]; gl_Position = vec4(a == c); } |