-
Couldn't load subscription status.
- Fork 627
Validate logical pointer restrictions #6240
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
base: main
Are you sure you want to change the base?
Conversation
67c3a0e to
7547ab5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Very nice.
I think there's one bug repeated several times: disallowing StorageBuffer with VariablePointers capability alone should still be treated as a variable pointer usage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* Tracks all variable pointers * Validates pointer operands
* improve function call checks * improve ptr comparison checks * validate typed variable pointers * may not be operands to array length * may not point to array of blocks * may not point to object containing matrix * may not point to component of a matrix
* Instruction tracing in a separate function * Checker functions for untyped, typed and same buffer
7547ab5 to
1c89052
Compare
|
CTS updates in https://gerrit.khronos.org/c/vk-gl-cts/+/18442. |
See internal SPIR-V issue 878.
Tested against Vulkan CTS. There are currently 41 failures. They are discussed in the SPIR-V issue.