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
Validator: Should allow OpTypePointer with same pointee type and storage class #781
Comments
Could either be precise, and enable this behaviour only when either of the variable pointers capabilities is enabled, or could be blunt and always enable this. |
The variable pointers extension allows you to have two OpTypePointer with the same storage class and pointee type, but the pointer types have ArrayStride decorations. The decorations might have the same value or different. |
dneto0
changed the title
Validator: Should allow OpTypePointer that differs only in decoration
Validator: Should allow OpTypePointer with same pointee type and storage class
Aug 29, 2017
atgoo
pushed a commit
to atgoo/SPIRV-Tools
that referenced
this issue
Aug 29, 2017
SPV_KHR_variable_pointers allows OpTypePointer to declare multiple identical types if they have different declarations. KhronosGroup#781
dneto0
pushed a commit
that referenced
this issue
Sep 1, 2017
SPV_KHR_variable_pointers allows OpTypePointer to declare multiple pointer identical types. #781
Fixed by #783 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is exercised by SPV_KHR_variable_pointers.
See the "Types" subsection of
https://www.khronos.org/registry/spir-v/extensions/KHR/SPV_KHR_variable_pointers.html#_modifications_to_the_spir_v_specification_version_1_1
The text was updated successfully, but these errors were encountered: