summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-08-04 22:35:32 -0700
committerEric Anholt <[email protected]>2010-08-05 09:17:45 -0700
commit9de2c4fc8e620ffe7faecd499c82d9d38ec538a6 (patch)
tree668a4f227a41e2a8856fcf3ed10ac21d2b471994 /src
parentf4239872c9cb56d1e5735b62ea53bedf3f39dfb0 (diff)
ir_to_mesa: Remove debug force-enablement of EmitNoIfs.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 2fd07ca6115..f0e013369aa 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -2614,7 +2614,7 @@ _mesa_glsl_compile_shader(GLcontext *ctx, struct gl_shader *shader)
progress = do_constant_folding(shader->ir) || progress;
progress = do_algebraic(shader->ir) || progress;
progress = do_if_return(shader->ir) || progress;
- if (1 || ctx->Shader.EmitNoIfs)
+ if (ctx->Shader.EmitNoIfs)
progress = do_if_to_cond_assign(shader->ir) || progress;
progress = do_vec_index_to_swizzle(shader->ir) || progress;