MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.63k
stars
402
forks
source link
Fix shader conversion failure when using native texture atomics. #2243
mvkPopulateShaderConversionConfig()VK_DESCRIPTOR_TYPE_STORAGE_IMAGE and VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, don't add buffer resource binding if native texture atomics are supported.
Remove MVKPhysicalDevice::useNativeTextureAtomics() and update all occurrences of getPhysicalDevice()->useNativeTextureAtomics() to getMetalFeatures().nativeTextureAtomics.
mvkPopulateShaderConversionConfig()
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE
andVK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER
, don't add buffer resource binding if native texture atomics are supported.MVKPhysicalDevice::useNativeTextureAtomics()
and update all occurrences ofgetPhysicalDevice()->useNativeTextureAtomics()
togetMetalFeatures().nativeTextureAtomics
.Fixes issue #2180.