mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
ir3: Use elect_any_ir3 in preambles
This fixes SP_FS_PREFETCH_CNTL::ENDOFQUAD not being used when there's a preamble and texture prefetches. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29914>
This commit is contained in:
parent
ec37e65a2d
commit
65298586b8
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ ir3_nir_lower_preamble(nir_shader *nir, struct ir3_shader_variant *v)
|
|||
|
||||
nir_if *outer_if = nir_push_if(b, nir_preamble_start_ir3(b, 1));
|
||||
{
|
||||
nir_if *inner_if = nir_push_if(b, nir_elect(b, 1));
|
||||
nir_if *inner_if = nir_push_if(b, nir_elect_any_ir3(b, 1));
|
||||
{
|
||||
nir_call_instr *call = nir_call_instr_create(nir, main->preamble);
|
||||
nir_builder_instr_insert(b, &call->instr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue