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/refract | |
parent | 03a6276477702404f5c7a4f5f2fbb713371c7eed (diff) |
glsl/builtins: Convert assignments to new format (with write mask).
Diffstat (limited to 'src/glsl/builtins/ir/refract')
-rw-r--r-- | src/glsl/builtins/ir/refract | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glsl/builtins/ir/refract b/src/glsl/builtins/ir/refract index 522ab411734..d9dd8226eea 100644 --- a/src/glsl/builtins/ir/refract +++ b/src/glsl/builtins/ir/refract @@ -5,7 +5,7 @@ (declare (in) float n) (declare (in) float eta)) ((declare () float k) - (assign (constant bool (1)) (var_ref k) + (assign (constant bool (1)) (x) (var_ref k) (expression float - (constant float (1.0)) (expression float * (var_ref eta) (expression float * (var_ref eta) @@ -30,7 +30,7 @@ (declare (in) vec2 n) (declare (in) float eta)) ((declare () float k) - (assign (constant bool (1)) (var_ref k) + (assign (constant bool (1)) (x) (var_ref k) (expression float - (constant float (1.0)) (expression float * (var_ref eta) (expression float * (var_ref eta) @@ -55,7 +55,7 @@ (declare (in) vec3 n) (declare (in) float eta)) ((declare () float k) - (assign (constant bool (1)) (var_ref k) + (assign (constant bool (1)) (x) (var_ref k) (expression float - (constant float (1.0)) (expression float * (var_ref eta) (expression float * (var_ref eta) @@ -80,7 +80,7 @@ (declare (in) vec4 n) (declare (in) float eta)) ((declare () float k) - (assign (constant bool (1)) (var_ref k) + (assign (constant bool (1)) (x) (var_ref k) (expression float - (constant float (1.0)) (expression float * (var_ref eta) (expression float * (var_ref eta) |