Results for spec/glsl-1.30/precision-bool-01.frag

Overview

Status: fail
Result: fail

Back to summary

Details

Detail Value
returncode 1
time 0.234000205994
note Returncode was 1
errors
  • Successfully compiled fragment shader tests/spec/glsl-1.30\\compiler\\precision-qualifiers\\precision-bool-01.frag: Fragment shader was successfully compiled to run on hardware.
info
Returncode: 1

Errors:
Successfully compiled fragment shader tests/spec/glsl-1.30\compiler\precision-qualifiers\precision-bool-01.frag: Fragment shader was successfully compiled to run on hardware.



Output:
Shader source:
// [config]
// expect_result: fail
// glsl_version: 1.30
// [end config]
//
// Precision qualifiers cannot be applied to bool variables.
//
// From section 4.5.2 of the GLSL 1.30 spec:
//     Literal constants do not have precision qualifiers. Neither do Boolean
//     variables.

#version 130

float f() {
	highp bool b;
	return 0.0;
}

Back to summary