Module: vkd3d
Branch: master
Commit: a32f89c7142435bd5a02d0d7c0ca8d63aa77057e
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=a32f89c7142435bd5a02d0d…
Author: Francisco Casas <fcasas(a)codeweavers.com>
Date: Mon Nov 15 15:40:04 2021 -0300
vkd3d-shader/hlsl: Explicitly specify the swizzle type for sm4 source registers.
Some register types do not use a consistent swizzle type, so the
sm4_swizzle_type() function is removed.
The swizzle type now must be specified using the swizzle_type field.
Signed-off-by: Francisco Casas <fcasas(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani(a)codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
libs/vkd3d-shader/hlsl.h | 2 +-
libs/vkd3d-shader/hlsl_codegen.c | 2 +-
libs/vkd3d-shader/hlsl_sm4.c | 96 ++++++++++++++++++++--------------------
3 files changed, 50 insertions(+), 50 deletions(-)
Diff: https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=a32f89c7142435bd5a0…