Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.404716014862 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-constant-index-negative.vert fail 1.20 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled vertex shader tests/spec/glsl-1.20/compiler/structure-and-array-operations/array-constant-index-negative.vert: 0(17) : warning C1068: array index out of bounds 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: * * "It is also illegal to index an array with a negative constant * expression." */ #version 120 uniform vec4 [6] an_array; void main() { gl_Position = an_array[-1]; } |