agx: enable more lowering

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
Alyssa Rosenzweig 2024-04-06 11:42:08 -04:00 committed by Marge Bot
parent 69d7063ec0
commit 8df39ac49b

View file

@ -262,12 +262,21 @@ static const nir_shader_compiler_options agx_nir_options = {
.lower_ffract = true,
.lower_ldexp = true,
.lower_pack_half_2x16 = true,
.lower_pack_unorm_2x16 = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_unorm_4x8 = true,
.lower_pack_snorm_4x8 = true,
.lower_pack_64_2x32 = true,
.lower_unpack_half_2x16 = true,
.lower_unpack_unorm_2x16 = true,
.lower_unpack_snorm_2x16 = true,
.lower_unpack_unorm_4x8 = true,
.lower_unpack_snorm_4x8 = true,
.lower_extract_byte = true,
.lower_insert_byte = true,
.lower_insert_word = true,
.has_cs_global_id = true,
.lower_device_index_to_zero = true,
.lower_hadd = true,
.vectorize_io = true,
.use_interpolated_input_intrinsics = true,