vkd3d-shader/hlsl: Reuse shader model 1-3 constants.

This commit is contained in:
Elizabeth Figura
2024-10-30 11:51:06 -05:00
committed by Henri Verbeet
parent e418bbcfac
commit bc382c6835
Notes: Henri Verbeet 2025-03-18 16:03:31 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Francisco Casas (@fcasas)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1426
2 changed files with 52 additions and 15 deletions

View File

@@ -1155,6 +1155,7 @@ struct hlsl_ctx
struct hlsl_constant_register
{
uint32_t index;
uint32_t allocated_mask;
struct hlsl_vec4 value;
struct vkd3d_shader_location loc;
} *regs;