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>
This commit is contained in:
Faith Ekstrand
2024-07-11 18:30:22 -05:00
committed by Marge Bot
parent 66954d997d
commit a888e83c3a
+1 -1
View File
@@ -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);
}
}
}