[Mesa-dev] [PATCH 15/15] i965: Lower ldexp and frexp.

Matt Turner mattst88 at gmail.com
Thu Aug 22 16:08:35 PDT 2013


---
 src/mesa/drivers/dri/i965/brw_shader.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 6c7e827..b3640d0 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -154,7 +154,9 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
 			 EXP_TO_EXP2 |
 			 LOG_TO_LOG2 |
                          bitfield_insert |
-                         lrp_to_arith);
+                         lrp_to_arith |
+                         LDEXP_TO_ARITH |
+                         FREXP_TO_ARITH);
 
       /* Pre-gen6 HW can only nest if-statements 16 deep.  Beyond this,
        * if-statements need to be flattened.
-- 
1.8.3.2



More information about the mesa-dev mailing list