Merge pull request #1423 from KhronosGroup/msvc-2013-fix
MSVC 2013: Fix silently broken builds.
This commit is contained in:
commit
6575e451f5
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user