summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/floatBitsToInt.ir
blob: a5db4b3269a2ed5da3678b4610730697717e343d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
((function floatBitsToInt
   (signature int
     (parameters
       (declare (in) float arg))
     ((return (expression int bitcast_f2i (var_ref arg)))))

   (signature ivec2
     (parameters
       (declare (in) vec2 arg))
     ((return (expression ivec2 bitcast_f2i (var_ref arg)))))

   (signature ivec3
     (parameters
       (declare (in) vec3 arg))
     ((return (expression ivec3 bitcast_f2i (var_ref arg)))))

   (signature ivec4
     (parameters
       (declare (in) vec4 arg))
     ((return (expression ivec4 bitcast_f2i (var_ref arg)))))
))