diff options
author | Matt Turner <[email protected]> | 2013-08-03 11:34:30 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-09-17 16:59:26 -0700 |
commit | c43d6060b196c3e25b16a0985caa561ae1449ce8 (patch) | |
tree | f5186796736db1e5e9ae159434d5314724fb59bd /src/mesa/drivers/dri/i965/brw_shader.cpp | |
parent | d0b8ea60b7999d50c0f136b1170b1ddb4688d796 (diff) |
i965: Lower ldexp.
v2: Drop frexp lowering.
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 53364a5ba60..a558d3604a3 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp @@ -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. |