mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
i965/gen7: Fix the length of the MULTISAMPLE state packet in the HiZ op.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
cdcfaa64e3
commit
a7750c9fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ gen6_hiz_emit_batch_head(struct brw_context *brw)
|
|||
int length = intel->gen == 7 ? 4 : 3;
|
||||
|
||||
BEGIN_BATCH(length);
|
||||
OUT_BATCH(_3DSTATE_MULTISAMPLE << 16 | (3 - 2));
|
||||
OUT_BATCH(_3DSTATE_MULTISAMPLE << 16 | (length - 2));
|
||||
OUT_BATCH(MS_PIXEL_LOCATION_CENTER |
|
||||
MS_NUMSAMPLES_1);
|
||||
OUT_BATCH(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue