Updated spirv-cross.
This commit is contained in:
parent
c851c522f6
commit
d51b2ebe4d
2
3rdparty/spirv-cross/spirv_common.hpp
vendored
2
3rdparty/spirv-cross/spirv_common.hpp
vendored
@ -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.
|
||||
|
4
3rdparty/spirv-cross/spirv_glsl.hpp
vendored
4
3rdparty/spirv-cross/spirv_glsl.hpp
vendored
@ -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