Giovanni Mascellani (@giomasce) commented about libs/vkd3d/vkd3d_private.h:
HRESULT vkd3d_uav_clear_state_init(struct vkd3d_uav_clear_state *state, struct d3d12_device *device); void vkd3d_uav_clear_state_cleanup(struct vkd3d_uav_clear_state *state, struct d3d12_device *device);
+union desc_object_address +{ +#ifdef __x86_64__
- __uint128_t value;
+#else
- uint64_t value;
+#endif
- struct
- {
union d3d12_desc_object u;
size_t tag;
- } address;
+};
Can you statically assert that on x86_64 this has size and alignment of 16 bytes?