Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shader conversion failure when using native texture atomics. #2243

Merged

Conversation

billhollings
Copy link
Contributor

  • 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.

Fixes issue #2180.

- 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.
@billhollings billhollings merged commit 4ef99e5 into KhronosGroup:main May 30, 2024
6 checks passed
@billhollings billhollings deleted the fix-shdr-native-atomics branch May 30, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants