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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user