mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
hk: fix eMRT decompress of msaa
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
cc7a4dca7a
commit
e965d4e695
1 changed files with 3 additions and 1 deletions
|
|
@ -454,7 +454,9 @@ pack_pbe(struct hk_device *dev, struct hk_image_view *view, unsigned view_plane,
|
|||
/* When the descriptor isn't extended architecturally, we use
|
||||
* the last 8 bytes as a sideband to accelerate image atomics.
|
||||
*/
|
||||
if (!cfg.extended && layout->writeable_image) {
|
||||
if (!cfg.extended &&
|
||||
(layout->writeable_image || usage == HK_DESC_USAGE_EMRT)) {
|
||||
|
||||
if (msaa) {
|
||||
assert(denom.x == 1 && "no MSAA of block-compressed");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue