blob: ecfd6e7adccef08588bbe5fc33b95d9d56dedc6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// [config]
// expect_result: pass
// glsl_version: 1.00
// [end config]
//
// Type int 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 mediump int;
float f() {
return 0.0;
}
|