mesa: Add ARB_ES3_compatibility flag.
[mesa.git] / src / glsl / builtins / profiles / ARB_shader_bit_encoding.glsl
1 #version 130
2 #extension GL_ARB_shader_bit_encoding : enable
3
4 int floatBitsToInt(float value);
5 ivec2 floatBitsToInt(vec2 value);
6 ivec3 floatBitsToInt(vec3 value);
7 ivec4 floatBitsToInt(vec4 value);
8
9 uint floatBitsToUint(float value);
10 uvec2 floatBitsToUint(vec2 value);
11 uvec3 floatBitsToUint(vec3 value);
12 uvec4 floatBitsToUint(vec4 value);
13
14 float intBitsToFloat(int value);
15 vec2 intBitsToFloat(ivec2 value);
16 vec3 intBitsToFloat(ivec3 value);
17 vec4 intBitsToFloat(ivec4 value);
18
19 float uintBitsToFloat(uint value);
20 vec2 uintBitsToFloat(uvec2 value);
21 vec3 uintBitsToFloat(uvec3 value);
22 vec4 uintBitsToFloat(uvec4 value);