diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert index 289d4ff55b8..6519e56b8ff 100644 --- a/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert +++ b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/vert/leaf-function.capture.vert @@ -22,7 +22,8 @@ struct main0_in float3 aNormal [[attribute(1)]]; }; -inline void set_output(device float4& gl_Position, constant UBO& v_18, thread float4& aVertex, device float3& vNormal, thread float3& aNormal) +static inline __attribute__((always_inline)) +void set_output(device float4& gl_Position, constant UBO& v_18, thread float4& aVertex, device float3& vNormal, thread float3& aNormal) { gl_Position = v_18.uMVP * aVertex; vNormal = aNormal; |