Zebediah Figura : vkd3d-shader/hlsl: Factor out an hlsl_block structure.

Alexandre Julliard julliard at winehq.org
Mon Nov 1 16:33:19 CDT 2021


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

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Fri Oct 15 16:54:10 2021 -0500

vkd3d-shader/hlsl: Factor out an hlsl_block structure.

This doesn't hold anything other than a list, nor do I have any immediate plans
for it to hold anything other than a list, but I'm adding it for some degree of
clarity. Passing around untyped list pointers is not my favourite hobby.

Signed-off-by: Zebediah Figura <zfigura 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: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d-shader/hlsl.c         | 24 ++++++++++++------------
 libs/vkd3d-shader/hlsl.h         | 13 +++++++++----
 libs/vkd3d-shader/hlsl.y         | 16 ++++++++--------
 libs/vkd3d-shader/hlsl_codegen.c | 34 +++++++++++++++++-----------------
 libs/vkd3d-shader/hlsl_sm1.c     |  2 +-
 libs/vkd3d-shader/hlsl_sm4.c     |  2 +-
 6 files changed, 48 insertions(+), 43 deletions(-)

Diff:   https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=182707f1681d3878eef128e98ad2d50b2469f2f9



More information about the wine-cvs mailing list