Results for spec/glsl-1.00/compiler/arithmetic-operators/division-by-zero-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.319293022156
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/arithmetic-operators/division-by-zero-01.frag pass 1.00
errors
  • Failed to compile fragment shader tests/spec/glsl-1.00/compiler/arithmetic-operators/division-by-zero-01.frag: 0(15) : error C7573: OpenGL/ES requires precision specifier on float types
  • 0(16) : error C7573: OpenGL/ES requires precision specifier on float types
info
Returncode: 1

Errors:
Failed to compile fragment shader tests/spec/glsl-1.00/compiler/arithmetic-operators/division-by-zero-01.frag: 0(15) : error C7573: OpenGL/ES requires precision specifier on float types
0(16) : error C7573: OpenGL/ES requires precision specifier on float types



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Division by zero is legal for floating point values.
//
// From section 5.9 of the GLSL ES 1.00 spec:
//     Dividing by zero does not cause an exception but does result in an
//     unspecified value.

#version 100

float
f() {
    float x = 1.0 / 0.0;
    return x;
}


Back to summary