vkd3d-shader/dxbc: Load input signatures also from ISG1 chunks.

When DXBC contains DXIL code it uses ISG1 signatures.
This commit is contained in:
Conor McCarthy 2023-08-31 10:50:40 +10:00 committed by Alexandre Julliard
parent 575135a9ce
commit 5984b4e455
Notes: Alexandre Julliard 2023-09-25 22:27:18 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/320

View File

@ -452,7 +452,7 @@ static int isgn_handler(const struct vkd3d_shader_dxbc_section_desc *section,
{
struct shader_signature *is = ctx;
if (section->tag != TAG_ISGN)
if (section->tag != TAG_ISGN && section->tag != TAG_ISG1)
return VKD3D_OK;
if (is->elements)