Home
last modified time | relevance | path

Searched refs:emit_minmax_int (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_alu.c577 static void emit_minmax_int(const struct lp_build_tgsi_action *action, in emit_minmax_int() function
770 bld_base->op_actions[TGSI_OPCODE_IMAX].emit = emit_minmax_int; in si_shader_context_init_alu()
771 bld_base->op_actions[TGSI_OPCODE_IMIN].emit = emit_minmax_int; in si_shader_context_init_alu()
821 bld_base->op_actions[TGSI_OPCODE_UMAX].emit = emit_minmax_int; in si_shader_context_init_alu()
822 bld_base->op_actions[TGSI_OPCODE_UMIN].emit = emit_minmax_int; in si_shader_context_init_alu()
835 bld_base->op_actions[TGSI_OPCODE_I64MAX].emit = emit_minmax_int; in si_shader_context_init_alu()
836 bld_base->op_actions[TGSI_OPCODE_I64MIN].emit = emit_minmax_int; in si_shader_context_init_alu()
837 bld_base->op_actions[TGSI_OPCODE_U64MAX].emit = emit_minmax_int; in si_shader_context_init_alu()
838 bld_base->op_actions[TGSI_OPCODE_U64MIN].emit = emit_minmax_int; in si_shader_context_init_alu()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c1353 static LLVMValueRef emit_minmax_int(struct ac_llvm_context *ctx, in emit_minmax_int() function
1366 return emit_minmax_int(ctx, LLVMIntSGT, src0, in emit_iabs()
1845 result = emit_minmax_int(&ctx->ac, LLVMIntSGT, src[0], src[1]); in visit_alu()
1848 result = emit_minmax_int(&ctx->ac, LLVMIntSLT, src[0], src[1]); in visit_alu()
1851 result = emit_minmax_int(&ctx->ac, LLVMIntUGT, src[0], src[1]); in visit_alu()
1854 result = emit_minmax_int(&ctx->ac, LLVMIntULT, src[0], src[1]); in visit_alu()
5904 val[chan] = emit_minmax_int(&ctx->ac, LLVMIntULT, val[chan], chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()
5924 val[chan] = emit_minmax_int(&ctx->ac, LLVMIntSLT, val[chan], chan == 3 ? max_alpha : max_rgb); in si_llvm_init_export_args()
5925 val[chan] = emit_minmax_int(&ctx->ac, LLVMIntSGT, val[chan], chan == 3 ? min_alpha : min_rgb); in si_llvm_init_export_args()