15 Apr
2024
15 Apr
'24
9:26 a.m.
Giovanni Mascellani (@giomasce) commented about tests/shader_runner_vulkan.c:
static const VkRect2D rt_rect = {.extent.width = RENDER_TARGET_WIDTH, .extent.height = RENDER_TARGET_HEIGHT}; VkRenderPassBeginInfo pass_begin_desc = {.sType = VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO}; + union VkClearValue clear_values[D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT] = {0};
No need to specify `union` here, Vulkan headers already typedef it and we always use the typedef'd version. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/777#note_67807