From e88cf0f2d2bc26a9fb8591bdb88a23cdf89ac7ca Mon Sep 17 00:00:00 2001 From: Topi Pohjolainen Date: Wed, 15 Oct 2014 17:41:02 +0300 Subject: [PATCH] i965: Lower DFRACEXP/DLDEXP MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit v2 (Connor): rebase on master which moved this to brw_link.cpp v3 (Sam): - Only enable DFREXP_DLDEXP_TO_ARITH in process_glsl_ir(). This is used for doubles. Single floating point op is lowered by NIR. Signed-off-by: Topi Pohjolainen Signed-off-by: Samuel Iglesias Gonsálvez Reviewed-by: Kenneth Graunke Reviewed-by: Francisco Jerez --- src/mesa/drivers/dri/i965/brw_link.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp index 516316e26ae..c169658e337 100644 --- a/src/mesa/drivers/dri/i965/brw_link.cpp +++ b/src/mesa/drivers/dri/i965/brw_link.cpp @@ -110,6 +110,7 @@ process_glsl_ir(gl_shader_stage stage, SUB_TO_ADD_NEG | EXP_TO_EXP2 | LOG_TO_LOG2 | + DFREXP_DLDEXP_TO_ARITH | CARRY_TO_ARITH | BORROW_TO_ARITH); -- 2.30.2