projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/gather_info: Handle multi-slot variables in io bitfields
[mesa.git]
/
src
/
glsl
/
lower_subroutine.cpp
diff --git
a/src/glsl/lower_subroutine.cpp
b/src/glsl/lower_subroutine.cpp
index c1aed61a36a956d5f6f176bee1e22d21f2297484..a0df5e1df817e8b36e19574f9b384e2a147c694c 100644
(file)
--- a/
src/glsl/lower_subroutine.cpp
+++ b/
src/glsl/lower_subroutine.cpp
@@
-84,7
+84,7
@@
lower_subroutine_visitor::visit_leave(ir_call *ir)
continue;
if (ir->array_idx != NULL)
- var =
new(mem_ctx) ir_dereference_array(ir->sub_var, ir->array_idx->clone(mem_ctx, NULL)
);
+ var =
ir->array_idx->clone(mem_ctx, NULL
);
else
var = new(mem_ctx) ir_dereference_variable(ir->sub_var);