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:
committed by
Marge Bot
parent
c3325b22d8
commit
75cea0ceee
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user