Results for spec/glsl-1.20/compiler/arithmetic-operators/modulus-00.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.294193983078
note
Returncode was 1
command
/Users/mks/Downloads/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.20/compiler/arithmetic-operators/modulus-00.frag fail 1.20
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/arithmetic-operators/modulus-00.frag: (no compiler output)
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.20/compiler/arithmetic-operators/modulus-00.frag: (no compiler output)


Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.20
// [end config]
//
// The modulus operator '%' is reserved.
//
// From section 5.9 of the GLSL 1.20 spec:
//     The operator modulus (%) is reserved for future use.

#version 120

int
f() {
    int tea_time = 15 % 24;
    return tea_time;
}


Back to summary