mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
nak: Set lower_pack_64_4x16
Otherwise, these can cause infinite loops in optimization because there aren't _split variants and the optimizer tries to combine and split things infinitely. Reviewed-by: Mel Henning <drawoc@darkrefraction.com> Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34849>
This commit is contained in:
parent
140cd7c4f4
commit
efd1cddbe9
1 changed files with 1 additions and 0 deletions
|
|
@ -120,6 +120,7 @@ fn nir_options(dev: &nv_device_info) -> nir_shader_compiler_options {
|
|||
op.lower_fsqrt = dev.sm < 52;
|
||||
op.lower_bitfield_extract = dev.sm >= 70;
|
||||
op.lower_bitfield_insert = true;
|
||||
op.lower_pack_64_4x16 = true;
|
||||
op.lower_pack_half_2x16 = true;
|
||||
op.lower_pack_unorm_2x16 = true;
|
||||
op.lower_pack_snorm_2x16 = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue