Actually emit temp declaration in vector comparison builtins.
This commit is contained in:
parent
6202cbfe36
commit
67029b13b7
1 changed files with 1 additions and 0 deletions
|
|
@ -331,6 +331,7 @@ generate_vec_compare(exec_list *instructions,
|
|||
return_type = glsl_type::get_instance(GLSL_TYPE_BOOL,
|
||||
type->vector_elements, 1);
|
||||
temp = new ir_variable(return_type, "temp");
|
||||
instructions->push_tail(temp);
|
||||
|
||||
for (i = 0; i < type->vector_elements; i++) {
|
||||
ir_assignment *assign;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue