Status: fail
Result: fail
Detail | Value |
---|---|
returncode | 1 |
time | 0.825079202652 |
note | Returncode was 1 |
command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/assignment-operators/assign-array-prohibited.frag fail 1.00 |
errors |
|
info | Returncode: 1 Errors: Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/assignment-operators/assign-array-prohibited.frag: Fragment shader was successfully compiled to run on hardware. Output: Shader source: // [config] // expect_result: fail // glsl_version: 1.00 // [end config] // // Check that assignment to an array is illegal in GLSL ES 1.00. // // From section 5.8 of the GLSL ES 1.00 spec: // Array variables are l-values and may be passed to parameters // declared as out or inout. However, they may not be used as the // target of an assignment. #version 100 void f(float x[2]) { float y[2]; y = x; } |