aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/fma.ir
blob: c3695634db476946cc291d0abdf751ae21ae751b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
((function fma
   (signature float
     (parameters
       (declare (in) float a)
       (declare (in) float b)
       (declare (in) float c))
     ((return (expression float fma (var_ref a) (var_ref b) (var_ref c)))))

   (signature vec2
     (parameters
       (declare (in) vec2 a)
       (declare (in) vec2 b)
       (declare (in) vec2 c))
     ((return (expression vec2 fma (var_ref a) (var_ref b) (var_ref c)))))

   (signature vec3
     (parameters
       (declare (in) vec3 a)
       (declare (in) vec3 b)
       (declare (in) vec3 c))
     ((return (expression vec3 fma (var_ref a) (var_ref b) (var_ref c)))))

   (signature vec4
     (parameters
       (declare (in) vec4 a)
       (declare (in) vec4 b)
       (declare (in) vec4 c))
     ((return (expression vec4 fma (var_ref a) (var_ref b) (var_ref c)))))
))