From: Dave Airlie Date: Tue, 18 Aug 2020 19:15:50 +0000 (+1000) Subject: llvmpipe/nir: lower some more packing at nir level. X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=eb787773b2da2d2f282cd275620ea2581b3c9b44 llvmpipe/nir: lower some more packing at nir level. Fixes: dEQP-VK.glsl.builtin.function.pack_unpack.* Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 644738392c4..b12bcbd1af1 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -557,10 +557,13 @@ static const struct nir_shader_compiler_options gallivm_nir_options = { .lower_pack_snorm_4x8 = true, .lower_pack_unorm_2x16 = true, .lower_pack_unorm_4x8 = true, + .lower_pack_half_2x16 = true, + .lower_pack_split = true, .lower_unpack_snorm_2x16 = true, .lower_unpack_snorm_4x8 = true, .lower_unpack_unorm_2x16 = true, .lower_unpack_unorm_4x8 = true, + .lower_unpack_half_2x16 = true, .lower_extract_byte = true, .lower_extract_word = true, .lower_rotate = true,