Merge pull request #1423 from KhronosGroup/msvc-2013-fix

MSVC 2013: Fix silently broken builds.
This commit is contained in:
Hans-Kristian Arntzen 2020-07-11 14:09:56 +02:00 committed by GitHub
commit 6575e451f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -664,7 +664,7 @@ struct SPIREntryPoint
SmallVector<VariableID> interface_variables;
Bitset flags;
struct
struct WorkgroupSize
{
uint32_t x = 0, y = 0, z = 0;
uint32_t constant = 0; // Workgroup size can be expressed as a constant/spec-constant instead.

View File

@ -129,7 +129,7 @@ public:
Highp
};
struct
struct VertexOptions
{
// GLSL: In vertex shaders, rewrite [0, w] depth (Vulkan/D3D style) to [-w, w] depth (GL style).
// MSL: In vertex shaders, rewrite [-w, w] depth (GL style) to [0, w] depth.
@ -146,7 +146,7 @@ public:
bool support_nonzero_base_instance = true;
} vertex;
struct
struct FragmentOptions
{
// Add precision mediump float in ES targets when emitting GLES source.
// Add precision highp int in ES targets when emitting GLES source.