summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-07-18 11:13:55 -0700
committerIan Romanick <[email protected]>2016-08-30 16:28:03 -0700
commitd6e73150a4017ace895472b049ca9381b1073a6d (patch)
tree356b7100284ac8dc5fec9fe265780a514700d7d7
parent822b5c5eb257cccd0fe3939819a3588d18173a23 (diff)
glsl: Use constant_template_horizontal instead of constant_template_horizontal_single_implementation for unops
This changes the "shape" of all the pack and unpack operators, but they should function the same. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> Acked-by: Dylan Baker <[email protected]>
-rw-r--r--src/compiler/glsl/ir_expression_operation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir_expression_operation.py b/src/compiler/glsl/ir_expression_operation.py
index c718faa9d87..8dfcf2c0397 100644
--- a/src/compiler/glsl/ir_expression_operation.py
+++ b/src/compiler/glsl/ir_expression_operation.py
@@ -369,7 +369,7 @@ class operation(object):
if horizontal_operation in self.flags and non_assign_operation in self.flags:
return constant_template_horizontal_nonassignment.render(op=self)
elif horizontal_operation in self.flags:
- return constant_template_horizontal_single_implementation.render(op=self)
+ return constant_template_horizontal.render(op=self)
elif self.num_operands == 2:
if self.name == "mul":
return constant_template_mul.render(op=self)