i965: Lower ldexp.
authorMatt Turner <mattst88@gmail.com>
Sat, 3 Aug 2013 18:34:30 +0000 (11:34 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 17 Sep 2013 23:59:26 +0000 (16:59 -0700)
v2: Drop frexp lowering.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.cpp

index 53364a5ba6084e14eef5e8b4273b2ff7b3ed5743..a558d3604a332ec81e7c07079966a41a499f9f9b 100644 (file)
@@ -154,7 +154,8 @@ 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);
 
       /* Pre-gen6 HW can only nest if-statements 16 deep.  Beyond this,
        * if-statements need to be flattened.