mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
pan/mdg: Fix discard encoding
Let's match the blob.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6525>
(cherry picked from commit c8ac01af33)
This commit is contained in:
parent
83dda7b35f
commit
4e57b4680d
2 changed files with 3 additions and 2 deletions
|
|
@ -625,7 +625,7 @@
|
|||
"description": "pan/mdg: Fix discard encoding",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -641,7 +641,8 @@ emit_branch(midgard_instruction *ins,
|
|||
int quadword_offset = 0;
|
||||
|
||||
if (is_discard) {
|
||||
/* Ignored */
|
||||
/* Fixed encoding, not actually an offset */
|
||||
quadword_offset = 0x2;
|
||||
} else if (is_tilebuf_wait) {
|
||||
quadword_offset = -1;
|
||||
} else if (target_number > block->base.name) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue