mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
nvk: Fix indirect cbuf binds pre-Turing
nvk_cmd_buffer_push_indirect() takes bytes, not dwords. Fixes:ee29a8d1cd("nvk: Upload cbufs based on the cbuf_map") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30281> (cherry picked from commita888e83c3a)
This commit is contained in:
parent
5f8a46c62c
commit
657bc4365b
2 changed files with 2 additions and 2 deletions
|
|
@ -174,7 +174,7 @@
|
|||
"description": "nvk: Fix indirect cbuf binds pre-Turing",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "ee29a8d1cdbdc553caac8ceeda03f5c737eda0f2",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2493,7 +2493,7 @@ nvk_flush_descriptors(struct nvk_cmd_buffer *cmd)
|
|||
P_INLINE_DATA(p, g | (c << 4));
|
||||
|
||||
nv_push_update_count(p, 3);
|
||||
nvk_cmd_buffer_push_indirect(cmd, desc_addr, 3);
|
||||
nvk_cmd_buffer_push_indirect(cmd, desc_addr, 12);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue