From: Kenneth Graunke Date: Mon, 11 Aug 2014 22:05:54 +0000 (-0700) Subject: i965: Revert part of f5cc3fdcf1680b116612fac7c39f1bd79f5e555e. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f73594778b0ef9804fc7839d5e2051d051d4ef48;p=mesa.git i965: Revert part of f5cc3fdcf1680b116612fac7c39f1bd79f5e555e. Fixes non-termination in various Piglit tests. Reviewed-by: Jason Ekstrand --- 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; } }