Commit 83c90d6
committed
Fix operand extension validation to use ANY-of semantics
Same fix as the capability extension validation: grammar extension lists
for operands are alternatives (ANY suffices, not ALL). The operand
validation was checking each extension individually and failing on the
first one not satisfied.
Combine all extension sources and check if at least one is satisfied,
matching C++ HasAnyOfExtensions() behavior. This fixes validation of
decorations like PerPrimitiveNV which list both SPV_NV_mesh_shader
and SPV_EXT_mesh_shader as alternatives.1 parent 0693158 commit 83c90d6
1 file changed
+14
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
997 | 997 | | |
998 | 998 | | |
999 | 999 | | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1011 | 1013 | | |
1012 | 1014 | | |
1013 | 1015 | | |
1014 | | - | |
| 1016 | + | |
1015 | 1017 | | |
1016 | 1018 | | |
1017 | 1019 | | |
| |||
0 commit comments