diff options
author | Eric Anholt <[email protected]> | 2012-02-08 15:10:12 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-02-09 19:03:18 -0800 |
commit | cdcfaa64e3a237517a1e1c913e8ea18d8bc5fa63 (patch) | |
tree | 8c5148cdaf46e37e2da2b52974acd81fcdc67044 /src/mesa/drivers | |
parent | e5b225afbd581ccf5d61e9d6c566e26e74abe91e (diff) |
i965/gen7: Fix the length of the DS state packet in the HiZ op.
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | 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 a36f1cb3f38..34e51ab4b50 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); |