summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-22 10:48:06 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-22 10:48:06 +0000
commitafb77ffadedf6c6f9321dde1d650004714accdc4 (patch)
tree9aab4e389f05fc5e24c1a0d12cdc73d20e1775d2
parent1a7262e5308c9ab416ed87226ed27a9fc84f0ef9 (diff)
sna/gen7: Skip CLEAR_PARAMS for the null depthbuffer
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 8a088399..d9bb18d3 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -692,9 +692,11 @@ gen7_emit_null_depth_buffer(struct sna *sna)
OUT_BATCH(0);
OUT_BATCH(0);
+#if 0
OUT_BATCH(GEN7_3DSTATE_CLEAR_PARAMS | (3 - 2));
OUT_BATCH(0);
OUT_BATCH(0);
+#endif
}
static void