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 commit a888e83c3a)
This commit is contained in:
Faith Ekstrand 2024-07-11 18:30:22 -05:00 committed by Eric Engestrom
parent 019bf048de
commit 6773865b7c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);
}
}
}