From c20d5945a2fab3abe96a95b09dd58c7895a2f2f7 Mon Sep 17 00:00:00 2001 From: Chip Davis Date: Tue, 27 Oct 2020 21:42:33 -0500 Subject: MSL: Allow framebuffer fetch on Mac in MSL 2.3. Another Apple GPU feature that will now be supported on Apple Silicon Macs. --- spirv_cross_c.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spirv_cross_c.cpp') diff --git a/spirv_cross_c.cpp b/spirv_cross_c.cpp index cbe3a558..59a9c918 100644 --- a/spirv_cross_c.cpp +++ b/spirv_cross_c.cpp @@ -599,8 +599,8 @@ spvc_result spvc_compiler_options_set_uint(spvc_compiler_options options, spvc_c options->msl.enable_base_index_zero = value != 0; break; - case SPVC_COMPILER_OPTION_MSL_IOS_FRAMEBUFFER_FETCH_SUBPASS: - options->msl.ios_use_framebuffer_fetch_subpasses = value != 0; + case SPVC_COMPILER_OPTION_MSL_FRAMEBUFFER_FETCH_SUBPASS: + options->msl.use_framebuffer_fetch_subpasses = value != 0; break; case SPVC_COMPILER_OPTION_MSL_INVARIANT_FP_MATH: -- cgit v1.2.3