Mesa (master): intel/icl: Do StateCacheInvalidation for indirect clear color
Anuj Phogat
aphogat at kemper.freedesktop.org
Fri Feb 16 01:05:06 UTC 2018
Module: Mesa
Branch: master
Commit: 772a75be46788c5359c03f875cb0af4bbaa411d2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=772a75be46788c5359c03f875cb0af4bbaa411d2
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Tue Jun 27 14:46:26 2017 -0700
intel/icl: Do StateCacheInvalidation for indirect clear color
StateCacheInvalidation is required on all gen7+ platforms. We
don't need to update this check for every new gen h/w unless
this requirement is changed. So, dropping the check for latest
gen h/w.
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/intel/blorp/blorp_genX_exec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 5e1312aa30..ec08b92aad 100644
--- a/src/intel/blorp/blorp_genX_exec.h
+++ b/src/intel/blorp/blorp_genX_exec.h
@@ -1391,7 +1391,7 @@ blorp_emit_surface_states(struct blorp_batch *batch,
}
}
-#if GEN_GEN >= 7 && GEN_GEN <= 10
+#if GEN_GEN >= 7
if (has_indirect_clear_color) {
/* Updating a surface state object may require that the state cache be
* invalidated. From the SKL PRM, Shared Functions -> State -> State
More information about the mesa-commit
mailing list