projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95d611e
)
llvmpipe/nir: lower some more packing at nir level.
author
Dave Airlie
<airlied@redhat.com>
Tue, 18 Aug 2020 19:15:50 +0000
(
05:15
+1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 19 Aug 2020 00:16:49 +0000
(10:16 +1000)
Fixes:
dEQP-VK.glsl.builtin.function.pack_unpack.*
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>
src/gallium/drivers/llvmpipe/lp_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_screen.c
b/src/gallium/drivers/llvmpipe/lp_screen.c
index 644738392c4246eb941e9bc7aa2e86941e6c2528..b12bcbd1af1b91ecd1a2565e06458d07de58f330 100644
(file)
--- 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,