Browse Source

i965/gen7: Fix the length of the DS state packet in the HiZ op.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
tags/i965-primitive-restart-v2
Eric Anholt 13 years ago
parent
commit
cdcfaa64e3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/drivers/dri/i965/gen7_hiz.c

+ 1
- 1
src/mesa/drivers/dri/i965/gen7_hiz.c View File

@@ -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);

Loading…
Cancel
Save