diff options
Diffstat (limited to 'src/glsl/nir/spirv_to_nir.c')
-rw-r--r-- | src/glsl/nir/spirv_to_nir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/nir/spirv_to_nir.c b/src/glsl/nir/spirv_to_nir.c index dc165252c25..5c94573fd3a 100644 --- a/src/glsl/nir/spirv_to_nir.c +++ b/src/glsl/nir/spirv_to_nir.c @@ -2570,6 +2570,7 @@ vtn_handle_alu(struct vtn_builder *b, SpvOp opcode, case SpvOpLogicalEqual: op = nir_op_ieq; break; case SpvOpLogicalNotEqual: op = nir_op_ine; break; case SpvOpLogicalAnd: op = nir_op_iand; break; + case SpvOpLogicalNot: op = nir_op_inot; break; case SpvOpBitwiseOr: op = nir_op_ior; break; case SpvOpBitwiseXor: op = nir_op_ixor; break; case SpvOpBitwiseAnd: op = nir_op_iand; break; @@ -3562,10 +3563,11 @@ vtn_handle_body_instruction(struct vtn_builder *b, SpvOp opcode, case SpvOpShiftRightLogical: case SpvOpShiftRightArithmetic: case SpvOpShiftLeftLogical: - case SpvOpLogicalOr: case SpvOpLogicalEqual: case SpvOpLogicalNotEqual: + case SpvOpLogicalOr: case SpvOpLogicalAnd: + case SpvOpLogicalNot: case SpvOpBitwiseOr: case SpvOpBitwiseXor: case SpvOpBitwiseAnd: |