mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 21:30:39 +01:00
panfrost: Don't set REQ_MSAA in pan_mfbd
No remaining consumer. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
parent
ccce5b922f
commit
7b5aa5fbf2
1 changed files with 1 additions and 9 deletions
|
|
@ -565,13 +565,8 @@ panfrost_mfbd_fragment(struct panfrost_batch *batch, bool has_draws)
|
|||
|
||||
struct panfrost_slice *checksum_slice = NULL;
|
||||
|
||||
if (zs_crc_ext) {
|
||||
if (batch->key.zsbuf &&
|
||||
MAX2(batch->key.zsbuf->nr_samples, batch->key.zsbuf->nr_samples) > 1)
|
||||
batch->requirements |= PAN_REQ_MSAA;
|
||||
|
||||
if (zs_crc_ext)
|
||||
panfrost_mfbd_emit_zs_crc_ext(batch, zs_crc_ext, &checksum_slice);
|
||||
}
|
||||
|
||||
/* We always upload at least one dummy GL_NONE render target */
|
||||
|
||||
|
|
@ -594,9 +589,6 @@ panfrost_mfbd_fragment(struct panfrost_batch *batch, bool has_draws)
|
|||
if (surf) {
|
||||
unsigned samples = MAX2(surf->nr_samples, surf->texture->nr_samples);
|
||||
|
||||
if (samples > 1)
|
||||
batch->requirements |= PAN_REQ_MSAA;
|
||||
|
||||
rt_offset += pan_bytes_per_pixel_tib(surf->format) * tib_size *
|
||||
MAX2(samples, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue