[Mesa-dev] [PATCH] i965: don't lower mod() in glsl ir
Samuel Iglesias Gonsálvez
siglesias at igalia.com
Fri Apr 22 05:32:43 UTC 2016
NIR will lower it in nir_opt_algebraic.
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
---
src/mesa/drivers/dri/i965/brw_link.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp b/src/mesa/drivers/dri/i965/brw_link.cpp
index bb7e1eb..ee62ada 100644
--- a/src/mesa/drivers/dri/i965/brw_link.cpp
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp
@@ -105,7 +105,6 @@ process_glsl_ir(gl_shader_stage stage,
brw_lower_packing_builtins(brw, shader->Stage, shader->ir);
do_mat_op_to_vec(shader->ir);
lower_instructions(shader->ir,
- MOD_TO_FLOOR |
DIV_TO_MUL_RCP |
SUB_TO_ADD_NEG |
EXP_TO_EXP2 |
--
2.5.0
More information about the mesa-dev
mailing list