summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir/reflect
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-09-07 23:21:22 -0700
committerKenneth Graunke <[email protected]>2010-09-08 12:09:41 -0700
commit1f7e6e1e724150e5e7309bdb781d7873bcc13687 (patch)
tree3266e735a4725c8bae35b40ca55ab7c6a7460cb2 /src/glsl/builtins/ir/reflect
parent84160a0454b17306e6b9bff5b6e50e54959c5680 (diff)
glsl/builtins: Don't use ir_binop_dot on floating point values.
ir_binop_dot is only defined for vector types. Use ir_binop_mul.
Diffstat (limited to 'src/glsl/builtins/ir/reflect')
-rw-r--r--src/glsl/builtins/ir/reflect2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtins/ir/reflect b/src/glsl/builtins/ir/reflect
index 8238fdc93fd..1fa394e3c99 100644
--- a/src/glsl/builtins/ir/reflect
+++ b/src/glsl/builtins/ir/reflect
@@ -8,7 +8,7 @@
(expression float *
(constant float (2.0))
(expression float *
- (expression float dot
+ (expression float *
(var_ref n)
(var_ref i))
(var_ref n)))))))