[PATCH v2 10/12] vkd3d: Fix MSVC build of state.c

Hans-Kristian Arntzen post at arntzen-software.no
Tue Oct 1 05:33:47 CDT 2019


Signed-off-by: Hans-Kristian Arntzen <post at arntzen-software.no>
---
 libs/vkd3d/state.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c
index 12a711b..9dc5cff 100644
--- a/libs/vkd3d/state.c
+++ b/libs/vkd3d/state.c
@@ -1342,7 +1342,7 @@ static HRESULT create_shader_stage(struct d3d12_device *device,
     struct vkd3d_shader_code dxbc = {code->pShaderBytecode, code->BytecodeLength};
     const struct vkd3d_vk_device_procs *vk_procs = &device->vk_procs;
     struct VkShaderModuleCreateInfo shader_desc;
-    struct vkd3d_shader_code spirv = {};
+    struct vkd3d_shader_code spirv = {0};
     VkResult vr;
     int ret;
 
-- 
2.23.0




More information about the wine-devel mailing list