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

Features unsupported by hardware is marked as supported #2122

Open
rongcuid opened this issue Jan 10, 2024 · 1 comment
Open

Features unsupported by hardware is marked as supported #2122

rongcuid opened this issue Jan 10, 2024 · 1 comment

Comments

@rongcuid
Copy link

I have been querying for a few features, including shaderSampledImageArrayDynamicIndexing, shaderStorageBufferArrayDynamicIndexing, descriptorIndexing, and shaderDrawParameters. All of which returned true on my hardware, yet when actually running, I encounter multiple MVK errors, including:

  • gl_DrawID is unsupported
  • Unsized array of descriptors requires argument buffer tier 2, etc

Is there a problem where features are incorrectly marked as supported?

@billhollings
Copy link
Contributor

billhollings commented Jan 12, 2024

Can you provide the actual error messages, as logged, so we can investigate?

Or just ZIP up the log file and upload it here.

In case these are shader errors, please add the environment variables MVK_CONFIG_LOG_LEVEL=3 and MVK_CONFIG_DEBUG=1 when running your app, so the shader code will appear in the logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants