summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-08-11 15:05:54 -0700
committerKenneth Graunke <[email protected]>2014-08-11 15:07:17 -0700
commitf73594778b0ef9804fc7839d5e2051d051d4ef48 (patch)
tree2258f63fd10e4ce5dc371dc72c12de9dc9c5c019 /src
parent602a3f92d4d695e116794597db81623a8fd4c653 (diff)
i965: Revert part of f5cc3fdcf1680b116612fac7c39f1bd79f5e555e.
Fixes non-termination in various Piglit tests. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_cse.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}