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