Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

spirv-val: Accept valid OpSizeOf instructions #5879

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Nov 12, 2024

Ensure valid OpSizeOf instructions are not rejected by spirv-val. Until now, validation of a valid OpSizeOf instruction would fail with the message that the operand "cannot be a type".

Ensure valid `OpSizeOf` instructions are not rejected by spirv-val.
Until now, validation of a valid `OpSizeOf` instruction would fail
with the message that the operand "cannot be a type".

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
@alan-baker alan-baker merged commit 35e5f11 into KhronosGroup:main Nov 13, 2024
23 checks passed
@svenvh svenvh deleted the opsizeof branch November 14, 2024 08:19
mmoult pushed a commit to mmoult/SPIRV-Tools that referenced this pull request Nov 16, 2024
Ensure valid `OpSizeOf` instructions are not rejected by spirv-val.
Until now, validation of a valid `OpSizeOf` instruction would fail
with the message that the operand "cannot be a type".

Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants