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

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.245400905609
note Returncode was 1
command /usr/local/src/piglit/framework/../bin/glslparsertest tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-bool-01.frag fail 1.00
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-bool-01.frag: 0(18) : warning C7022: unrecognized profile specifier "lowp"
  • 0(18) : warning C7022: unrecognized profile specifier "precision"
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.00/compiler/precision-qualifiers/default-precision-bool-01.frag: 0(18) : warning C7022: unrecognized profile specifier "lowp"
0(18) : warning C7022: unrecognized profile specifier "precision"



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// Type bool cannot 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. [...] Any other types or qualifiers will
//     result in an error.


#version 100

precision lowp bool;

float f() {
	return 0.0;
}

Back to summary