From f73594778b0ef9804fc7839d5e2051d051d4ef48 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 11 Aug 2014 15:05:54 -0700 Subject: [PATCH] i965: Revert part of f5cc3fdcf1680b116612fac7c39f1bd79f5e555e. Fixes non-termination in various Piglit tests. Reviewed-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/brw_vec4_cse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp index 1b8c9872d7f..29d2e026205 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_cse.cpp @@ -82,7 +82,7 @@ is_expression(const vec4_instruction *const inst) case SHADER_OPCODE_COS: return inst->mlen == 0; default: - return !inst->has_side_effects(); + return false; } } -- 2.30.2