SPV: Use OpLogicalEqual/OpLogicalNotEqual for boolean type comparison.
This commit is contained in:
parent
d6abcee1fc
commit
c7d3656dde
3 changed files with 8 additions and 3 deletions
|
|
@ -91,6 +91,6 @@ Linked vertex stage:
|
|||
9(b): 7(ptr) FunctionParameter
|
||||
11: Label
|
||||
12: 6(bool) Load 9(b)
|
||||
14: 6(bool) INotEqual 12 13
|
||||
14: 6(bool) LogicalNotEqual 12 13
|
||||
ReturnValue 14
|
||||
FunctionEnd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue