summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-09-08 22:25:12 -0700
committerEric Anholt <[email protected]>2010-09-08 14:54:08 -0700
commitaa973d3533bd98afb0c2140c30d151ec4a0fb898 (patch)
tree86c24dc026aec68838bd13c756cf5531233904fd /src/glsl/builtins
parent368dc76f04e19f5070d1f41795ea8cde2964639f (diff)
glsl: Fix typo in builtin step() using a wrong channel.
Diffstat (limited to 'src/glsl/builtins')
-rw-r--r--src/glsl/builtins/ir/step2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/ir/step b/src/glsl/builtins/ir/step
index 5627241176f..7aec9d7a6cc 100644
--- a/src/glsl/builtins/ir/step
+++ b/src/glsl/builtins/ir/step
@@ -61,7 +61,7 @@
((declare () vec4 t)
(assign (constant bool (1)) (x) (var_ref t) (expression float b2f (expression bool >= (swiz x (var_ref x))(swiz x (var_ref edge)))))
(assign (constant bool (1)) (y) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(swiz y (var_ref edge)))))
- (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz y (var_ref x))(swiz z (var_ref edge)))))
+ (assign (constant bool (1)) (z) (var_ref t) (expression float b2f (expression bool >= (swiz z (var_ref x))(swiz z (var_ref edge)))))
(assign (constant bool (1)) (w) (var_ref t) (expression float b2f (expression bool >= (swiz w (var_ref x))(swiz w (var_ref edge)))))
(return (var_ref t))))
))