diff options
author | Dave Airlie <[email protected]> | 2015-07-13 09:11:20 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-07-13 09:21:43 +0100 |
commit | de5c2b6f2b53924bceab6f4b8255d8e9dcad21b4 (patch) | |
tree | a5be35bce3ac0d84674548c5abdbc9c99cd0a17e /src/gallium | |
parent | 4cbf0a0ccf2fb4545b206066b756fd9a07acab92 (diff) |
radeonsi: direct emit intrinsic for DFRAC.
Michel reported this still failed, and this fixed it
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 444a41c01da..7c0318152d1 100644 --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c @@ -1582,6 +1582,7 @@ void radeon_llvm_context_init(struct radeon_llvm_context * ctx) bld_base->op_actions[TGSI_OPCODE_DABS].intr_name = "fabs"; bld_base->op_actions[TGSI_OPCODE_DFMA].emit = build_tgsi_intrinsic_nomem; bld_base->op_actions[TGSI_OPCODE_DFMA].intr_name = "llvm.fma.f64"; + bld_base->op_actions[TGSI_OPCODE_DFRAC].emit = build_tgsi_intrinsic_nomem; bld_base->op_actions[TGSI_OPCODE_DFRAC].intr_name = "llvm.AMDIL.fraction."; bld_base->op_actions[TGSI_OPCODE_DNEG].emit = emit_dneg; bld_base->op_actions[TGSI_OPCODE_DSEQ].emit = emit_dcmp; |