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

SPV_EXT_descriptor_indexing gives no indication where to put the Decoration::NonUniform #89

Open
seanbaxter opened this issue Dec 31, 2020 · 1 comment
Labels
question Further information is requested

Comments

@seanbaxter
Copy link

The document doesn't contain the words load, access, or copy, so I don't know if the decorator goes on the OpLoad, the OpAccessChain or the OpCopyObject.. And do I even need the OpCopyObject? And how viral is the NonUniform decorator? Would like the document to be more prescriptive.

@johnkslang johnkslang added the question Further information is requested label Jan 19, 2021
@raunraun
Copy link
Contributor

VUID-RuntimeSpirv-NonUniform-06274
If an instruction loads from or stores to a resource (including atomics and image instructions) and the resource descriptor being accessed is not dynamically uniform, then the operand corresponding to that resource (e.g. the pointer or sampled image operand) must be decorated with NonUniform.

Is this VUID sufficient?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants