From eae84c304cb4de45110abeb7be2096479add82e2 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Thu, 20 Nov 2014 17:09:37 -0800 Subject: [PATCH] never emit ddchk/clr --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index df589b8..ccdc2d8 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -912,6 +912,12 @@ vec4_visitor::opt_set_dependency_control() continue; } + if (1) { + memset(last_grf_write, 0, sizeof(last_grf_write)); + memset(last_mrf_write, 0, sizeof(last_mrf_write)); + continue; + } + /* Now, see if we can do dependency control for this instruction * against a previous one writing to its destination. */ -- 2.1.3