Results for spec/glsl-1.00/compiler/precision-qualifiers/default-precision-float-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.356952905655
note
Returncode was 1
command
/home/mks-hackers/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-float-01.frag pass 1.00
errors
  • Failed to compile fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-float-01.frag: 0(17) : warning C7022: unrecognized profile specifier "lowp"
  • 0(17) : warning C7022: unrecognized profile specifier "precision"
  • 0(19) : 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/precision-qualifiers/default-precision-float-01.frag: 0(17) : warning C7022: unrecognized profile specifier "lowp"
0(17) : warning C7022: unrecognized profile specifier "precision"
0(19) : error C7573: OpenGL/ES requires precision specifier on float types



Output:
Shader source:
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Type float can have default precision.
//
// From section 4.5.3 of the GLSL 1.00 spec:
//     The precision statement
//         precision precision-qualifier type;
//     can be used to establish a default precision qualifier. The type field
//     can be either int or float,


#version 100

precision lowp float;

float f() {
	return 0.0;
}

Back to summary