projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/vec4: split VEC4_OPCODE_FROM_DOUBLE into one opcode per destination's type
[mesa.git]
/
src
/
compiler
/
glsl
/
opt_structure_splitting.cpp
diff --git
a/src/compiler/glsl/opt_structure_splitting.cpp
b/src/compiler/glsl/opt_structure_splitting.cpp
index 0d18a2f758405dd419ee0f1e24939dc0e997ddc6..f4c129e625509159493ab4bd28bb2bfe8fde78b1 100644
(file)
--- a/
src/compiler/glsl/opt_structure_splitting.cpp
+++ b/
src/compiler/glsl/opt_structure_splitting.cpp
@@
-351,7
+351,7
@@
do_structure_splitting(exec_list *instructions)
entry->components[i] =
new(entry->mem_ctx) ir_variable(type->fields.structure[i].type,
name,
-
ir_var_temporary
);
+
(ir_variable_mode) entry->var->data.mode
);
entry->var->insert_before(entry->components[i]);
}