mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
radeonsi: Use nir_fold_16bit_image_load_store_conversions.
Remove conversions using d16 image_load/image_store. Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16319>
This commit is contained in:
parent
ad864a7c15
commit
56070d3322
1 changed files with 1 additions and 0 deletions
|
|
@ -182,6 +182,7 @@ static void si_late_optimize_16bit_samplers(struct si_screen *sscreen, nir_shade
|
|||
(has_g16 ? 1 << nir_tex_src_ddx : 0),
|
||||
sampler_dims);
|
||||
NIR_PASS(changed, nir, nir_legalize_16bit_sampler_srcs, tex_constraints);
|
||||
NIR_PASS(changed, nir, nir_fold_16bit_image_load_store_conversions);
|
||||
|
||||
if (changed) {
|
||||
si_nir_opts(sscreen, nir, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue