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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.778765916824
note
Returncode was 1
command
/home/airlied/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/arithmetic-operators/modulus-00.frag fail 1.00
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/arithmetic-operators/modulus-00.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/arithmetic-operators/modulus-00.frag: Fragment shader was successfully compiled to run on hardware.



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

#version 100

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


Back to summary