mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 05:28:05 +02:00
ac/nir: clear nir_var_shader_out from TCS barriers
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21403>
This commit is contained in:
parent
87de5b2b9e
commit
fb819fdb13
1 changed files with 3 additions and 1 deletions
|
|
@ -485,8 +485,10 @@ update_hs_scoped_barrier(nir_intrinsic_instr *intrin, lower_tess_io_state *st)
|
|||
* so we have to update the barriers to also reflect this.
|
||||
*/
|
||||
unsigned mem_modes = nir_intrinsic_memory_modes(intrin);
|
||||
if (mem_modes & nir_var_shader_out)
|
||||
if (mem_modes & nir_var_shader_out) {
|
||||
mem_modes |= nir_var_mem_shared;
|
||||
mem_modes &= ~nir_var_shader_out;
|
||||
}
|
||||
nir_intrinsic_set_memory_modes(intrin, mem_modes);
|
||||
|
||||
nir_scope exec_scope = nir_intrinsic_execution_scope(intrin);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue