vkd3d-shader/ir: Merge all shader IR fork and join phases into a single phase.

Normalise the incoming vkd3d_shader_instruction IR to the shader model 6
pattern. This allows generation of a single patch constant function in
SPIR-V.
This commit is contained in:
Conor McCarthy
2023-03-01 11:59:28 +10:00
committed by Alexandre Julliard
parent 57d92a15cf
commit eabdccb117
Notes: Alexandre Julliard 2023-04-03 22:08:13 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/84
5 changed files with 405 additions and 105 deletions

View File

@@ -251,6 +251,7 @@ libvkd3d_shader_la_SOURCES = \
libs/vkd3d-shader/hlsl_constant_ops.c \
libs/vkd3d-shader/hlsl_sm1.c \
libs/vkd3d-shader/hlsl_sm4.c \
libs/vkd3d-shader/ir.c \
libs/vkd3d-shader/preproc.h \
libs/vkd3d-shader/sm4.h \
libs/vkd3d-shader/spirv.c \