summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>2016-04-12 13:55:21 +0200
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>2016-04-22 13:44:28 +0200
commitf70cacc4bd6ee713c02c6634d5c97379b96c9c2a (patch)
tree7c7f21fb982fc2583d015f42fae057f37415b41d /src/mesa/drivers/dri
parent72b5d00c9cdffea1452341657f07461725b6962f (diff)
downloadexternal_mesa3d-f70cacc4bd6ee713c02c6634d5c97379b96c9c2a.zip
external_mesa3d-f70cacc4bd6ee713c02c6634d5c97379b96c9c2a.tar.gz
external_mesa3d-f70cacc4bd6ee713c02c6634d5c97379b96c9c2a.tar.bz2
i965: don't lower mod() in glsl ir
NIR will lower it in nir_opt_algebraic. No change in shader-db. Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_link.cpp1
1 files changed, 0 insertions, 1 deletions
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 |