blob: ea86ddc73016b6d5c091117d35d94b0e2d67934e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifdef UNIFORM_ID
uniform int id;
# define id floatBitsToUint(intBitsToFloat(id))
#else
flat in uint id;
#endif
out uint fragColor;
void main()
{
fragColor = id;
}
|