Skip to content

Commit a63635a

Browse files
committed
s2s: fix broken translation for LogicalNeq
1 parent 0839c18 commit a63635a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontends/spirv/s2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static SpvShdOpMapping spv_shd_op_mapping[] = {
298298
[SpvOpOrdered] = { 0 },
299299
[SpvOpUnordered] = { 0 },
300300
[SpvOpLogicalEqual] = { 1, eq_op, 3 },
301-
[SpvOpLogicalNotEqual] = { 1, eq_op, 3 },
301+
[SpvOpLogicalNotEqual] = { 1, neq_op, 3 },
302302
[SpvOpLogicalOr] = { 1, or_op, 3 },
303303
[SpvOpLogicalAnd] = { 1, and_op, 3 },
304304
[SpvOpLogicalNot] = { 1, not_op, 3 },

0 commit comments

Comments
 (0)