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

Overview

Status: fail
Result: fail

Back to summary

Details

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

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


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

#version 110

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


Back to summary