-
Notifications
You must be signed in to change notification settings - Fork 0
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
Structural semantics is stronger #32
Comments
Nice example! I think this is acceptable. Could you find the simplest possible example that illustrates this phenomenon and add it to the structural dominance doc? Thanks |
While trying to simplify the example above, I noticed something strange. |
To me this seems like a bug in spirv-val - I don't think there is anything wrong with the example that spirv-val rejects. It would be good to include this in the doc under the "synthetic" section. |
Alan acknowledged that spirv-val should accept the example above (email 5 Apr). This is one of the mismatches here: https://docs.google.com/document/d/1B2AEGChk4VgOzjWwScb1Hc580WP_nWu1ONcpOpLB0ig/edit |
For this example, spirv-val says:
This is due to the fact that the semantics of structural dominance is more restrictive: in spirv-val semantics block 9 is member of selection headed by 11 but in structural semantics it's not because %9 is not structurally dominated by %11
Archive 4.zip
The text was updated successfully, but these errors were encountered: