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

Use Argument Buffers on Metal #3334

Open
Tracked by #3637
cwfitzgerald opened this issue Dec 26, 2022 · 3 comments
Open
Tracked by #3637

Use Argument Buffers on Metal #3334

cwfitzgerald opened this issue Dec 26, 2022 · 3 comments
Labels
api: metal Issues with Metal type: enhancement New feature or request

Comments

@cwfitzgerald
Copy link
Member

cwfitzgerald commented Dec 26, 2022

This is a major change for our binding model on Mac, but would allow us to support bindless in it's true form by letting us bind up to a million textures and buffers on modern chips.

Argument buffers are unconditionally supported for our target, so we can just universally change the API usage.

This isn't true, it requires Mac 10.13 and WebGPU is minimum 10.12. There are also issues with write resources on tier 1 hardware. I suspect we should just use argument buffer for bindless arrays.

@cwfitzgerald cwfitzgerald added type: enhancement New feature or request api: metal Issues with Metal labels Dec 26, 2022
@kanerogers
Copy link

According to @cwfitzgerald WebGPU minimum is now 10.13, which should ameliorate the compatibility issues.

@kanerogers
Copy link

I've made some progress on this issue, which I've documented on the corresponding naga issue.

@cwfitzgerald
Copy link
Member Author

I think this can be scoped down to just rewriting the binding_array to argument buffers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: metal Issues with Metal type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants