diff options
author | Kenneth Graunke <[email protected]> | 2010-09-03 16:10:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-09-04 02:19:37 -0700 |
commit | bacbf941d25b8c2c22cc991384ac7304bb951a03 (patch) | |
tree | f6b9fef73ef46a495f16e2892da170b5854be15e /src/glsl/builtins/ir/mix | |
parent | 03a6276477702404f5c7a4f5f2fbb713371c7eed (diff) |
glsl/builtins: Convert assignments to new format (with write mask).
Diffstat (limited to 'src/glsl/builtins/ir/mix')
-rw-r--r-- | src/glsl/builtins/ir/mix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/glsl/builtins/ir/mix b/src/glsl/builtins/ir/mix index 6bc6f0a43e8..a31f0fa7086 100644 --- a/src/glsl/builtins/ir/mix +++ b/src/glsl/builtins/ir/mix @@ -61,8 +61,8 @@ (declare (in) vec2 v1) (declare (in) vec2 v2) (declare (in) bvec2 a)) - ((assign (swiz x (var_ref a)) (swiz x (var_ref v1)) (swiz x (var_ref v2))) - (assign (swiz y (var_ref a)) (swiz y (var_ref v1)) (swiz y (var_ref v2))) + ((assign (swiz x (var_ref a)) (x) (var_ref v1) (swiz x (var_ref v2))) + (assign (swiz y (var_ref a)) (y) (var_ref v1) (swiz y (var_ref v2))) (return (var_ref v1)))) (signature vec3 @@ -70,9 +70,9 @@ (declare (in) vec3 v1) (declare (in) vec3 v2) (declare (in) bvec3 a)) - ((assign (swiz x (var_ref a)) (swiz x (var_ref v1)) (swiz x (var_ref v2))) - (assign (swiz y (var_ref a)) (swiz y (var_ref v1)) (swiz y (var_ref v2))) - (assign (swiz z (var_ref a)) (swiz z (var_ref v1)) (swiz z (var_ref v2))) + ((assign (swiz x (var_ref a)) (x) (var_ref v1) (swiz x (var_ref v2))) + (assign (swiz y (var_ref a)) (y) (var_ref v1) (swiz y (var_ref v2))) + (assign (swiz z (var_ref a)) (z) (var_ref v1) (swiz z (var_ref v2))) (return (var_ref v1)))) (signature vec4 @@ -80,9 +80,9 @@ (declare (in) vec4 v1) (declare (in) vec4 v2) (declare (in) bvec4 a)) - ((assign (swiz x (var_ref a)) (swiz x (var_ref v1)) (swiz x (var_ref v2))) - (assign (swiz y (var_ref a)) (swiz y (var_ref v1)) (swiz y (var_ref v2))) - (assign (swiz z (var_ref a)) (swiz z (var_ref v1)) (swiz z (var_ref v2))) - (assign (swiz w (var_ref a)) (swiz w (var_ref v1)) (swiz w (var_ref v2))) + ((assign (swiz x (var_ref a)) (x) (var_ref v1) (swiz x (var_ref v2))) + (assign (swiz y (var_ref a)) (y) (var_ref v1) (swiz y (var_ref v2))) + (assign (swiz z (var_ref a)) (z) (var_ref v1) (swiz z (var_ref v2))) + (assign (swiz w (var_ref a)) (w) (var_ref v1) (swiz w (var_ref v2))) (return (var_ref v1)))) )) |