2 Mar
2023
2 Mar
'23
midnight
On Wed Mar 1 21:42:32 2023 +0000, Francisco Casas wrote:
I am afraid I would need clarification of what field and what for. But if you mean reusing the same `struct hlsl_reg_reservation` value for both `register(·)` and `packoffset(·)` and adding a `bool` to distinguish, I don't think it is a good idea since, like in the example in the MR description, both can be present at the same time, even if both are not used in the end. No, I mean both side-by-side, e.g.
struct hlsl_reg_reservation { char reg_type; uint32_t reg_index; char packoffset_type; uint32_t packoffset_index; }; (where packoffset_type could alternatively be a boolean?) -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/106#note_25958