-
Notifications
You must be signed in to change notification settings - Fork 559
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
spirv-val: Add missing SPV_EXT_mesh_shader validation #4919
Comments
Can you be more specific what do you mean by active validation? Regarding OpEmitMeshTasksEXT I will be fixing it. It needs a spec update as well |
@pmistryNV you only added "nop" support for the new builtin's etc. There needs to be proper validation added. @sjfricke I'm not aware of anyone else working on it, so if you wanted to contribute - that would be great! We can use this issue to coordinate. |
Here is the list I put together, I started on some of these, but wanted to not duplicate the effort, will clean them up later today and get some of them up
|
It seems DXC is creating wrong output because it fails to follow |
Let me take a look at it. |
@sjfricke regarding the test case |
// x == 2 from input
if (x > 1) {
OpSetMeshOutputsEXT
}
if (x > 0) {
OpSetMeshOutputsEXT
} The wording in the spec now says
I read this as you could do it statically because you are not even allowed to have a potential If you feel this truly can't be done with static analysis, then it still needs a new Runtime VUID in the Vulkan spec then as it is different from |
Exactly because of non-uniform control flow this behavior cannot be determined statically. I will add a new VUID or probably update the current one to state this. |
I would prefer a separate VU right next to |
Still working on the changes. I also encountered another validation missing "VUID-PrimitiveId-PrimitiveId-07040". So I am looking into all the validation that needs to be covered for the extension. |
Created PR #5640. |
#4915 only added the ability for
SPV_EXT_mesh_shader
to be compatible, but there is no active new validation added yet.@dgkoch is someone internally currently about to add this? Otherwise, I am happy to start adding the validation
The text was updated successfully, but these errors were encountered: