diff options
author | Jonathan Marek <[email protected]> | 2020-04-24 14:27:33 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-27 18:40:03 +0000 |
commit | 42093bb694bdcb6fb5bb762c118520c107456f4a (patch) | |
tree | 68170419e5cde64b2c7ac49b10defd5687f970c2 /src/freedreno/ir3 | |
parent | cbeda7f78e36caa7e4ca775bd848e1c8d38ee5d7 (diff) |
nir: add pack_32_2x16_split/unpack_32_2x16_split lowering
The new option replaces the two other _split lowering options, since
there's no need for separate options.
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4738>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r-- | src/freedreno/ir3/ir3_nir.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 146d9f0e9bd..8a67ea637d9 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -58,17 +58,16 @@ static const nir_shader_compiler_options options = { .lower_bitfield_insert_to_shifts = true, .lower_bitfield_extract_to_shifts = true, .lower_pack_half_2x16 = true, - .lower_pack_half_2x16_split = true, .lower_pack_snorm_4x8 = true, .lower_pack_snorm_2x16 = true, .lower_pack_unorm_4x8 = true, .lower_pack_unorm_2x16 = true, .lower_unpack_half_2x16 = true, - .lower_unpack_half_2x16_split = true, .lower_unpack_snorm_4x8 = true, .lower_unpack_snorm_2x16 = true, .lower_unpack_unorm_4x8 = true, .lower_unpack_unorm_2x16 = true, + .lower_pack_split = true, .use_interpolated_input_intrinsics = true, .lower_rotate = true, .lower_to_scalar = true, @@ -100,17 +99,16 @@ static const nir_shader_compiler_options options_a6xx = { .lower_bitfield_insert_to_shifts = true, .lower_bitfield_extract_to_shifts = true, .lower_pack_half_2x16 = true, - .lower_pack_half_2x16_split = true, .lower_pack_snorm_4x8 = true, .lower_pack_snorm_2x16 = true, .lower_pack_unorm_4x8 = true, .lower_pack_unorm_2x16 = true, .lower_unpack_half_2x16 = true, - .lower_unpack_half_2x16_split = true, .lower_unpack_snorm_4x8 = true, .lower_unpack_snorm_2x16 = true, .lower_unpack_unorm_4x8 = true, .lower_unpack_unorm_2x16 = true, + .lower_pack_split = true, .use_interpolated_input_intrinsics = true, .lower_rotate = true, .vectorize_io = true, |