2 Aug
2023
2 Aug
'23
12:58 p.m.
Giovanni Mascellani (@giomasce) commented about libs/vkd3d/vkd3d_private.h:
VKD3D_PIPELINE_BIND_POINT_COUNT = 0x2, };
+struct d3d12_command_heap +{ + size_t *commands;
Aligning the commands in the array to pointers makes totally sense (in C11 it would make even more sense to align to `max_align_t`, just to be sure), but I would still define the array as `void *`. Since you're going to type pun it a lot anyway, using `size_t *` just feels misleading towards the reader to me. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/294#note_41054