diff options
author | Chip Davis <cdavis@codeweavers.com> | 2020-10-27 21:42:33 -0500 |
---|---|---|
committer | Chip Davis <cdavis@codeweavers.com> | 2020-10-29 10:50:59 -0500 |
commit | c20d5945a2fab3abe96a95b09dd58c7895a2f2f7 (patch) | |
tree | fbddc53cc3645afb0d2852a1a936323039a122d9 /spirv_cross_c.cpp | |
parent | 78c6d2d62897e700f7f6bbd6289ff22245058ed7 (diff) | |
download | SPIRV-Cross-c20d5945a2fab3abe96a95b09dd58c7895a2f2f7.tar.gz SPIRV-Cross-c20d5945a2fab3abe96a95b09dd58c7895a2f2f7.tar.bz2 SPIRV-Cross-c20d5945a2fab3abe96a95b09dd58c7895a2f2f7.zip |
MSL: Allow framebuffer fetch on Mac in MSL 2.3.
Another Apple GPU feature that will now be supported on Apple Silicon
Macs.
Diffstat (limited to 'spirv_cross_c.cpp')
-rw-r--r-- | spirv_cross_c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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: |