mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
pco: scalarize push constant accesses
Signed-off-by: Simon Perretta <simon.perretta@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
c3325b22d8
commit
75cea0ceee
1 changed files with 6 additions and 1 deletions
|
|
@ -745,7 +745,12 @@ void pco_lower_nir(pco_ctx *ctx, nir_shader *nir, pco_data *data)
|
|||
nir_lower_explicit_io,
|
||||
nir_var_mem_push_const | nir_var_mem_shared,
|
||||
nir_address_format_32bit_offset);
|
||||
NIR_PASS(_, nir, nir_lower_io_to_scalar, nir_var_mem_shared, NULL, NULL);
|
||||
NIR_PASS(_,
|
||||
nir,
|
||||
nir_lower_io_to_scalar,
|
||||
nir_var_mem_push_const | nir_var_mem_shared,
|
||||
NULL,
|
||||
NULL);
|
||||
|
||||
if (data->common.robust_buffer_access)
|
||||
NIR_PASS(_, nir, nir_lower_robust_access, robustness_filter, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue