Module: Mesa
Branch: master
Commit: 1165b64f561a7bdd3f603d9e30a2340774ba31ee
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1165b64f561a7bdd3f603d9e30a2340774ba31ee

Author: Kenneth Graunke <[email protected]>
Date:   Wed Sep 28 17:37:57 2011 -0700

i965: Stop lowering integer division to multiply and reciprocal.

Signed-off-by: Kenneth Graunke <[email protected]>
Tested-by: Ian Romanick <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 src/mesa/drivers/dri/i965/brw_shader.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp 
b/src/mesa/drivers/dri/i965/brw_shader.cpp
index c938c75..974905d 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -100,7 +100,6 @@ brw_link_shader(struct gl_context *ctx, struct 
gl_shader_program *prog)
       lower_instructions(shader->ir,
                         MOD_TO_FRACT |
                         DIV_TO_MUL_RCP |
-                        INT_DIV_TO_MUL_RCP |
                         SUB_TO_ADD_NEG |
                         EXP_TO_EXP2 |
                         LOG_TO_LOG2);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to