mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
llvmpipe: fix some integer instruction lowering.
We want to lower to shifts for bitfields, and lower ifind_msb. Fixes a bunch of gpu shader5 tests. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3528>
This commit is contained in:
parent
6c88c81df9
commit
fc9d67394d
1 changed files with 3 additions and 2 deletions
|
|
@ -597,8 +597,8 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
|
|||
.lower_flrp32 = true,
|
||||
.lower_flrp64 = true,
|
||||
.lower_fsat = true,
|
||||
.lower_bitfield_insert_to_bitfield_select = true,
|
||||
.lower_bitfield_extract = true,
|
||||
.lower_bitfield_insert_to_shifts = true,
|
||||
.lower_bitfield_extract_to_shifts = true,
|
||||
.lower_sub = true,
|
||||
.lower_ffma = true,
|
||||
.lower_fmod = true,
|
||||
|
|
@ -615,6 +615,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
|
|||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
.lower_rotate = true,
|
||||
.lower_ifind_msb = true,
|
||||
.optimize_sample_mask_in = true,
|
||||
.max_unroll_iterations = 32,
|
||||
.use_interpolated_input_intrinsics = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue