[Mesa-dev] [PATCH 1/2] i965/gen7: Fix the length of the DS state packet in the HiZ metaop.
Eric Anholt
eric at anholt.net
Wed Feb 8 15:32:20 PST 2012
---
src/mesa/drivers/dri/i965/gen7_hiz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen7_hiz.c b/src/mesa/drivers/dri/i965/gen7_hiz.c
index 271e61e..1b5401f 100644
--- a/src/mesa/drivers/dri/i965/gen7_hiz.c
+++ b/src/mesa/drivers/dri/i965/gen7_hiz.c
@@ -175,7 +175,7 @@ gen7_hiz_exec(struct intel_context *intel,
*/
{
BEGIN_BATCH(6);
- OUT_BATCH(_3DSTATE_DS << 16 | (6));
+ OUT_BATCH(_3DSTATE_DS << 16 | (6 - 2));
OUT_BATCH(0);
OUT_BATCH(0);
OUT_BATCH(0);
--
1.7.9
More information about the mesa-dev
mailing list