31 Jan
2023
31 Jan
'23
6:37 p.m.
So, I don't see much reason to have them represent another level of indirection using values such as `HLSL_REGSET_RESOURCES` since they are used pass this point of backend-specific-ness.
I don't see how this is another level of indirection. The idea is HLSL_REGSET_RESOURCE would map to VKD3DSPR_RESOURCE / VKD3D_SM4_RT_RESOURCE for sm4, and VKD3DSPR_SAMPLER for sm1. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/66#note_22503