From: Topi Pohjolainen Date: Wed, 15 Oct 2014 14:41:02 +0000 (+0300) Subject: i965: Lower DFRACEXP/DLDEXP X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e88cf0f2d2bc26a9fb8591bdb88a23cdf89ac7ca;p=mesa.git i965: Lower DFRACEXP/DLDEXP 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 --- 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);