default-precision-float-01.frag 423 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// [config]
// expect_result: pass
// glsl_version: 1.30
// [end config]
//
// Type float can have default precision.
//
// From section 4.5.3 of the GLSL 1.30 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 130

17
precision lowp float;
18
19
20
21

float f() {
	return 0.0;
}