mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 22:48:05 +02:00
anv: sweep the NIR fp64 shader before keeping it on the device
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Allen Ballway <ballway@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39341>
This commit is contained in:
parent
19997bc245
commit
beb0ffc069
1 changed files with 2 additions and 0 deletions
|
|
@ -365,6 +365,8 @@ anv_load_fp64_shader(struct anv_device *device)
|
|||
NIR_PASS(_, nir, nir_lower_returns);
|
||||
NIR_PASS(_, nir, nir_inline_functions);
|
||||
|
||||
nir_sweep(nir);
|
||||
|
||||
anv_device_upload_nir(device, device->internal_cache,
|
||||
nir, blake3);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue