vkd3d-shader: Lower shader model 1/2 inter-stage I/O to a flat array.

An alternative is that we stash the reg_type in the signature, but this seems
far simpler for the backend to deal with.
This commit is contained in:
Zebediah Figura
2023-10-27 12:44:08 -05:00
committed by Alexandre Julliard
parent 3bafee344d
commit 3f52fda8ad
Notes: Alexandre Julliard 2024-01-04 23:09:22 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/527
3 changed files with 76 additions and 27 deletions

View File

@@ -955,6 +955,8 @@ enum vkd3d_shader_input_sysval_semantic
VKD3D_SIV_LINE_DENSITY_TESS_FACTOR = 22,
};
#define SM1_COLOR_REGISTER_OFFSET 8
#define SIGNATURE_TARGET_LOCATION_UNUSED (~0u)
struct signature_element