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:
committed by
Marge Bot
parent
66954d997d
commit
a888e83c3a
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user