Status: fail
Result: fail
| Detail | Value |
|---|---|
| returncode | 1 |
| time | 0.302394866943 |
| note | Returncode was 1 |
| errors |
|
| command | /home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.10/compiler/assignment-operators/modulus-assign-00.frag fail 1.10 |
| info | Returncode: 1
Errors:
Successfully compiled fragment shader tests/spec/glsl-1.10/compiler/assignment-operators/modulus-assign-00.frag:
Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.10
// [end config]
//
// The modulus assignment operator '%=' is reserved.
//
// From section 5.8 of the GLSL 1.10 spec:
// The assignments modulus into (%=), left shift by (<<=), right shift by
// (>>=), inclusive or into ( |=), and exclusive or into ( ^=). These
// operators are reserved for future use.
#version 110
int
f() {
int x = 19;
x %= 4;
return x;
}
|