summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/floatBitsToUint.ir
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/builtins/ir/floatBitsToUint.ir')
-rw-r--r--src/glsl/builtins/ir/floatBitsToUint.ir21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/glsl/builtins/ir/floatBitsToUint.ir b/src/glsl/builtins/ir/floatBitsToUint.ir
new file mode 100644
index 00000000000..09463bd9a75
--- /dev/null
+++ b/src/glsl/builtins/ir/floatBitsToUint.ir
@@ -0,0 +1,21 @@
+((function floatBitsToUint
+ (signature uint
+ (parameters
+ (declare (in) float arg))
+ ((return (expression uint bitcast_f2u (var_ref arg)))))
+
+ (signature uvec2
+ (parameters
+ (declare (in) vec2 arg))
+ ((return (expression uvec2 bitcast_f2u (var_ref arg)))))
+
+ (signature uvec3
+ (parameters
+ (declare (in) vec3 arg))
+ ((return (expression uvec3 bitcast_f2u (var_ref arg)))))
+
+ (signature uvec4
+ (parameters
+ (declare (in) vec4 arg))
+ ((return (expression uvec4 bitcast_f2u (var_ref arg)))))
+))