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

spirv-val: Better message for using OpTypeBool in input/output #4901

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

sjfricke
Copy link
Contributor

@sjfricke sjfricke commented Aug 18, 2022

related to KhronosGroup/SPIRV-Registry#161 trying to understand when a OpTypeBool is legal

seems the code before the error message was a bit outdated

edit: I just saw

Khronos Issue #363: OpTypeBool can be used in the Input and Output storage classes, but the client APIs still only allow built-in Boolean variables (e.g. FrontFacing), not user variables.

so that would explain/verify this logic

@alan-baker alan-baker merged commit fca39d5 into KhronosGroup:master Aug 29, 2022
@sjfricke sjfricke deleted the sjfricke-bool1 branch September 10, 2022 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants