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

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

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

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