Lines Matching defs:swap
304 SpvOp opcode, bool *swap, bool *exact,
310 *swap = false;
381 case SpvOpUGreaterThan: *swap = true; return nir_op_ult;
382 case SpvOpSGreaterThan: *swap = true; return nir_op_ilt;
383 case SpvOpFOrdGreaterThan: *swap = true; *exact = true; return nir_op_flt;
384 case SpvOpFUnordGreaterThan: *swap = true; *exact = true; return nir_op_flt;
385 case SpvOpULessThanEqual: *swap = true; return nir_op_uge;
386 case SpvOpSLessThanEqual: *swap = true; return nir_op_ige;
387 case SpvOpFOrdLessThanEqual: *swap = true; *exact = true; return nir_op_fge;
388 case SpvOpFUnordLessThanEqual: *swap = true; *exact = true; return nir_op_fge;
773 bool swap;
777 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap,
781 if (swap) {
885 bool swap;
889 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap, &exact,
945 bool swap;
949 nir_op op = vtn_nir_alu_op_for_spirv_opcode(b, opcode, &swap,
953 if (swap) {