mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
spirv: lower outputs to temporaries
This commit is contained in:
parent
9cebdd78d8
commit
44e6ea74b0
1 changed files with 5 additions and 0 deletions
|
|
@ -2973,6 +2973,11 @@ spirv_to_nir(const uint32_t *words, size_t word_count,
|
|||
vtn_handle_phi_second_pass);
|
||||
}
|
||||
|
||||
/* Because we can still have output reads in NIR, we need to lower
|
||||
* outputs to temporaries before we are truely finished.
|
||||
*/
|
||||
nir_lower_outputs_to_temporaries(shader);
|
||||
|
||||
ralloc_free(b);
|
||||
|
||||
return shader;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue