mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
anv: Lower indirect derefs again after lowering cooperative matrices
The cooperative matrix lowering can generate a lot of indirect array accesses, and these need to be eliminated. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25994>
This commit is contained in:
parent
b741a9a851
commit
511f91e307
1 changed files with 1 additions and 0 deletions
|
|
@ -983,6 +983,7 @@ anv_pipeline_lower_nir(struct anv_pipeline *pipeline,
|
|||
assert(nir->info.subgroup_size <= SUBGROUP_SIZE_REQUIRE_8);
|
||||
nir->info.subgroup_size = SUBGROUP_SIZE_REQUIRE_8;
|
||||
NIR_PASS(_, nir, brw_nir_lower_cmat, nir->info.subgroup_size);
|
||||
NIR_PASS_V(nir, nir_lower_indirect_derefs, nir_var_function_temp, 16);
|
||||
}
|
||||
|
||||
/* The patch control points are delivered through a push constant when
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue