summaryrefslogtreecommitdiff
path: root/tests/spec/glsl-es-1.00/compiler/precision-qualifiers/precision-bool-01.frag
blob: 88855bdfd49a4898e85e8884ff9615d9110a3e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// [config]
// expect_result: fail
// glsl_version: 1.00
// [end config]
//
// Precision qualifiers cannot be applied to bool variables.
//
// From section 4.5.2 of the GLSL 1.00 spec:
//     Literal constants do not have precision qualifiers. Neither do Boolean
//     variables.

#version 100

void f() {
	lowp bool b;
}