aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/bifrost_compile.h
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2020-04-24 14:27:33 -0400
committerMarge Bot <[email protected]>2020-04-27 18:40:03 +0000
commit42093bb694bdcb6fb5bb762c118520c107456f4a (patch)
tree68170419e5cde64b2c7ac49b10defd5687f970c2 /src/panfrost/bifrost/bifrost_compile.h
parentcbeda7f78e36caa7e4ca775bd848e1c8d38ee5d7 (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/panfrost/bifrost/bifrost_compile.h')
-rw-r--r--src/panfrost/bifrost/bifrost_compile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h
index 73e6847891c..a25ad314699 100644
--- a/src/panfrost/bifrost/bifrost_compile.h
+++ b/src/panfrost/bifrost/bifrost_compile.h
@@ -52,17 +52,16 @@ static const nir_shader_compiler_options bifrost_nir_options = {
.lower_rotate = true,
.lower_pack_half_2x16 = true,
- .lower_pack_half_2x16_split = true,
.lower_pack_unorm_2x16 = true,
.lower_pack_snorm_2x16 = true,
.lower_pack_unorm_4x8 = true,
.lower_pack_snorm_4x8 = true,
.lower_unpack_half_2x16 = true,
- .lower_unpack_half_2x16_split = true,
.lower_unpack_unorm_2x16 = true,
.lower_unpack_snorm_2x16 = true,
.lower_unpack_unorm_4x8 = true,
.lower_unpack_snorm_4x8 = true,
+ .lower_pack_split = true,
.lower_doubles_options = nir_lower_dmod,