r600g: use default action for min/max opcode in tgsi to llvm
authorVincent Lejeune <vljn@ovi.com>
Thu, 29 Nov 2012 22:46:15 +0000 (23:46 +0100)
committerVincent Lejeune <vljn@ovi.com>
Wed, 5 Dec 2012 17:31:55 +0000 (18:31 +0100)
Reveiwed-by: Tom Stellard <thomas.stellard at amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c

index 2521582001e8278ed01988a11681061fa1b86fd5..9cb0e9a1953372578c904e5c0e36b56792e9f0ac 100644 (file)
@@ -1120,11 +1120,7 @@ void radeon_llvm_context_init(struct radeon_llvm_context * ctx)
        bld_base->op_actions[TGSI_OPCODE_LG2].intr_name = "llvm.log2.f32";
        bld_base->op_actions[TGSI_OPCODE_LRP].emit = build_tgsi_intrinsic_nomem;
        bld_base->op_actions[TGSI_OPCODE_LRP].intr_name = "llvm.AMDGPU.lrp";
-       bld_base->op_actions[TGSI_OPCODE_MAX].emit = build_tgsi_intrinsic_nomem;
-       bld_base->op_actions[TGSI_OPCODE_MAX].intr_name = "llvm.AMDIL.max.";
        bld_base->op_actions[TGSI_OPCODE_MOD].emit = emit_mod;
-       bld_base->op_actions[TGSI_OPCODE_MIN].emit = build_tgsi_intrinsic_nomem;
-       bld_base->op_actions[TGSI_OPCODE_MIN].intr_name = "llvm.AMDIL.min.";
        bld_base->op_actions[TGSI_OPCODE_NOT].emit = emit_not;
        bld_base->op_actions[TGSI_OPCODE_OR].emit = emit_or;
        bld_base->op_actions[TGSI_OPCODE_POW].emit = build_tgsi_intrinsic_readonly;