From 7c738c50683431e95c5a248f601c9795b4f0509b Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Sat, 16 Apr 2016 09:21:56 +0200 Subject: [PATCH] Workaround some MSVC issues. --- spirv_cross.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spirv_cross.hpp b/spirv_cross.hpp index f1b29dc7..34ef15fd 100644 --- a/spirv_cross.hpp +++ b/spirv_cross.hpp @@ -231,7 +231,7 @@ namespace spirv_cross return nullptr; } - struct + struct Execution { uint64_t flags = 0; spv::ExecutionModel model; @@ -242,13 +242,17 @@ namespace spirv_cross } workgroup_size; uint32_t invocations = 0; uint32_t output_vertices = 0; + + Execution() = default; } execution; - struct + struct Source { uint32_t version = 0; bool es = false; bool known = false; + + Source() = default; } source; std::unordered_set loop_block;