projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
224e501
)
microsoft/spirv2dxil: Support pack_32_2x16 and pack_32_4x8
author
Pedro J. Estébanez
<pedrojrulez@gmail.com>
Mon, 24 Oct 2022 10:48:04 +0000
(12:48 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 24 Oct 2022 17:39:59 +0000
(17:39 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19273>
src/microsoft/compiler/nir_to_dxil.c
patch
|
blob
|
history
diff --git
a/src/microsoft/compiler/nir_to_dxil.c
b/src/microsoft/compiler/nir_to_dxil.c
index
bfd77e1
..
b8997b2
100644
(file)
--- a/
src/microsoft/compiler/nir_to_dxil.c
+++ b/
src/microsoft/compiler/nir_to_dxil.c
@@
-117,6
+117,9
@@
nir_options = {
.lower_uadd_carry = true,
.lower_mul_high = true,
.lower_rotate = true,
+ .lower_pack_half_2x16 = true,
+ .lower_pack_unorm_4x8 = true,
+ .lower_pack_snorm_4x8 = true,
.lower_pack_64_2x32_split = true,
.lower_pack_32_2x16_split = true,
.lower_unpack_64_2x32_split = true,