mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
pan/va: Don't truncate slots
Causes BARRIER not to work.
Fixes: f45654af59 ("pan/va: Add packing routines")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15756>
This commit is contained in:
parent
9b727944a0
commit
4f5e0e1874
1 changed files with 1 additions and 1 deletions
|
|
@ -617,7 +617,7 @@ va_pack_instr(const bi_instr *I, unsigned flow)
|
|||
hex |= ((uint64_t) va_select_fau_page(I)) << 57;
|
||||
|
||||
if (info.slot) {
|
||||
unsigned slot = (I->op == BI_OPCODE_BARRIER) ? 7 : 0;
|
||||
uint64_t slot = (I->op == BI_OPCODE_BARRIER) ? 7 : 0;
|
||||
hex |= (slot << 30);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue