Francisco Casas : vkd3d-shader/hlsl: Explicitly specify the swizzle type for sm4 source registers.

Alexandre Julliard julliard at winehq.org
Fri Nov 19 15:39:45 CST 2021


Module: vkd3d
Branch: master
Commit: a32f89c7142435bd5a02d0d7c0ca8d63aa77057e
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=a32f89c7142435bd5a02d0d7c0ca8d63aa77057e

Author: Francisco Casas <fcasas at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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=a32f89c7142435bd5a02d0d7c0ca8d63aa77057e



More information about the wine-cvs mailing list