summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/mix.ir
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-01-05 13:28:56 -0800
committerKenneth Graunke <[email protected]>2012-01-06 18:18:15 -0800
commitbe21ded2aef97b134379dd92b67e5e206720c1b1 (patch)
tree4bea049265ef72f5f3bc797507a2117b5cb33edb /src/glsl/builtins/ir/mix.ir
parent7ccf04ebcf6284a68ab6c571dabc5f3e0c6b740b (diff)
glsl/builtins: Add missing mix(genType, genType, bvec) built-ins.
The IR for mix(float, float, bool) was missing a write mask, causing the IR reader to die horribly. Furthermore, I neglected to add any of the new prototypes to the 1.30 profiles. Fixes oglconform's glsl-bif-com advanced.mix test cases. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44477 Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/builtins/ir/mix.ir')
-rw-r--r--src/glsl/builtins/ir/mix.ir2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/ir/mix.ir b/src/glsl/builtins/ir/mix.ir
index a31f0fa7086..70ae13c9f3f 100644
--- a/src/glsl/builtins/ir/mix.ir
+++ b/src/glsl/builtins/ir/mix.ir
@@ -53,7 +53,7 @@
(declare (in) float v1)
(declare (in) float v2)
(declare (in) bool a))
- ((assign (var_ref a) (var_ref v1) (var_ref v2))
+ ((assign (var_ref a) (x) (var_ref v1) (var_ref v2))
(return (var_ref v1))))
(signature vec2