mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 12:14:10 +08: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
019bf048de
commit
6773865b7c
@ -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
|
||||
|
@ -2335,7 +2335,7 @@ nvk_flush_descriptors(struct nvk_cmd_buffer *cmd)
|
||||
P_INLINE_DATA(p, group | (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…
Reference in New Issue
Block a user