mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
radv: add the draw count buffer to the list of buffers
My guess is that the GPU is going to report VM faults if vkCmdDrawIndirectCountAMD() (and friends) are used. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
1cec500c69
commit
3e5f27faf3
1 changed files with 2 additions and 0 deletions
|
|
@ -2992,6 +2992,8 @@ radv_emit_indirect_draw(struct radv_cmd_buffer *cmd_buffer,
|
|||
if (count_buffer) {
|
||||
count_va = radv_buffer_get_va(count_buffer->bo);
|
||||
count_va += count_offset + count_buffer->offset;
|
||||
|
||||
cmd_buffer->device->ws->cs_add_buffer(cs, count_buffer->bo, 8);
|
||||
}
|
||||
|
||||
if (!draw_count)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue