mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
panfrost: Force Z/S writeback
This is unfortunately necessary for conformance at this stage. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5929>
This commit is contained in:
parent
da2eed36f3
commit
528e132d4f
1 changed files with 2 additions and 2 deletions
|
|
@ -298,7 +298,7 @@ panfrost_mfbd_set_zsbuf(
|
|||
|
||||
unsigned header_size = rsrc->slices[level].header_size;
|
||||
|
||||
fb->mfbd_flags |= MALI_MFBD_EXTRA;
|
||||
fb->mfbd_flags |= MALI_MFBD_EXTRA | MALI_MFBD_DEPTH_WRITE;
|
||||
|
||||
fbx->flags_hi |= MALI_EXTRA_PRESENT;
|
||||
fbx->flags_lo |= MALI_EXTRA_ZS | 0x1; /* unknown */
|
||||
|
|
@ -322,7 +322,7 @@ panfrost_mfbd_set_zsbuf(
|
|||
|
||||
unsigned layer_stride = (nr_samples > 1) ? rsrc->slices[level].size0 : 0;
|
||||
|
||||
fb->mfbd_flags |= MALI_MFBD_EXTRA;
|
||||
fb->mfbd_flags |= MALI_MFBD_EXTRA | MALI_MFBD_DEPTH_WRITE;
|
||||
fbx->flags_hi |= MALI_EXTRA_PRESENT;
|
||||
fbx->flags_lo |= MALI_EXTRA_ZS;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue