diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag index 7224722691e..d43b0adc4e9 100644 --- a/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag +++ b/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders-msl/frag/input-attachment.frag @@ -10,7 +10,8 @@ struct main0_out float4 FragColor [[color(0)]]; }; -inline float4 load_subpasses(thread const texture2d<float> uInput, thread float4& gl_FragCoord) +static inline __attribute__((always_inline)) +float4 load_subpasses(thread const texture2d<float> uInput, thread float4& gl_FragCoord) { return uInput.read(uint2(gl_FragCoord.xy), 0); } |