Workaround some MSVC issues.
This commit is contained in:
parent
d8132df2de
commit
7c738c5068
@ -231,7 +231,7 @@ namespace spirv_cross
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct
|
struct Execution
|
||||||
{
|
{
|
||||||
uint64_t flags = 0;
|
uint64_t flags = 0;
|
||||||
spv::ExecutionModel model;
|
spv::ExecutionModel model;
|
||||||
@ -242,13 +242,17 @@ namespace spirv_cross
|
|||||||
} workgroup_size;
|
} workgroup_size;
|
||||||
uint32_t invocations = 0;
|
uint32_t invocations = 0;
|
||||||
uint32_t output_vertices = 0;
|
uint32_t output_vertices = 0;
|
||||||
|
|
||||||
|
Execution() = default;
|
||||||
} execution;
|
} execution;
|
||||||
|
|
||||||
struct
|
struct Source
|
||||||
{
|
{
|
||||||
uint32_t version = 0;
|
uint32_t version = 0;
|
||||||
bool es = false;
|
bool es = false;
|
||||||
bool known = false;
|
bool known = false;
|
||||||
|
|
||||||
|
Source() = default;
|
||||||
} source;
|
} source;
|
||||||
|
|
||||||
std::unordered_set<uint32_t> loop_block;
|
std::unordered_set<uint32_t> loop_block;
|
||||||
|
Loading…
Reference in New Issue
Block a user