summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2017-06-27 14:46:26 -0700
committerAnuj Phogat <[email protected]>2018-02-15 16:14:55 -0800
commit772a75be46788c5359c03f875cb0af4bbaa411d2 (patch)
treea853c7e55593978d335afee2f3fbd645f2c56dc2 /src
parentbff24e2173543a0329347ad95be86c1db60f2f0e (diff)
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 <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/blorp/blorp_genX_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_genX_exec.h b/src/intel/blorp/blorp_genX_exec.h
index 5e1312aa305..ec08b92aad0 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