mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
radv: enable lower_sub to fix loop unrolling.
Loop unroll asserts if it hits a sub, we don't really want
to lower subs as llvm handles these things, but do this for
now, until we can fix loop unroll to work with subs.
Fixes: 14ae0bfa5 (radv: Add NIR loop unrolling)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9e847eedd5
commit
2a2a21450b
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ static const struct nir_shader_compiler_options nir_options = {
|
|||
.lower_flrp32 = true,
|
||||
.lower_fsat = true,
|
||||
.lower_fdiv = true,
|
||||
.lower_sub = true,
|
||||
.lower_pack_snorm_2x16 = true,
|
||||
.lower_pack_snorm_4x8 = true,
|
||||
.lower_pack_unorm_2x16 = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue