1 Mar
2023
1 Mar
'23
12:26 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/hlsl.h:
unsigned size, used_size; /* Register of type 'b' on which the buffer is allocated. */ struct hlsl_reg reg; + + uint32_t manually_packed_elements : 1; + uint32_t automatically_packed_elements : 1;
Not a big deal, but I am not really a fan of bitfields, unless there is some compelling reason (i.e., you need that specific memory layout, or you get a significant space saving with them). However I won't object if you really want to leave them. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/106#note_25880