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

Implement sampler mask using uniform buffer instead of push constant #1235

Open
rjodinchr opened this issue Sep 21, 2023 · 0 comments
Open

Comments

@rjodinchr
Copy link
Collaborator

#1202 implements reading 3D images with a sampler using the sampler mask to know whether the coordinate needs to be normalised or not.
The sampler mask is passed through the push constant. But we can have cases where we do not have enough space in the push constant for it. In that case we need to have a fallback using a uniform buffer to pass that information.

It will require to add a non-semantic instruction in the spirv-headers.

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

No branches or pull requests

1 participant