Results for spec/glsl-1.00/compiler/assignment-operators/modulus-assign-00.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.444397926331
note
Returncode was 1
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/assignment-operators/modulus-assign-00.frag:
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/assignment-operators/modulus-assign-00.frag fail 1.00
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/assignment-operators/modulus-assign-00.frag: 


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// The modulus assignment operator '%=' is reserved.
//
// From section 5.8 of the GLSL ES 1.00 spec:
//     The assignments remainder into (%=), left shift by (<<=), right shift
//     by (>>=), inclusive or into ( |=), and exclusive or into ( ^=) are
//     reserved for future use.

#version 100

int
f() {
    int x = 19;
    x %= 4;
    return x;
}


Back to summary