From: Samuel Pitoiset Date: Mon, 16 Sep 2019 14:16:05 +0000 (+0200) Subject: radv/gfx10: add missing counter buffer to the BO list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56e1b1ff0cea2075ee554173fd319306668b340b;p=mesa.git radv/gfx10: add missing counter buffer to the BO list The buffer isn't necessarily used before. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index f35053b8695..f93195be4c0 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -6094,6 +6094,8 @@ gfx10_emit_streamout_end(struct radv_cmd_buffer *cmd_buffer, EOP_DST_SEL_TC_L2, EOP_DATA_SEL_GDS, va, EOP_DATA_GDS(i, 1), 0); + + radv_cs_add_buffer(cmd_buffer->device->ws, cs, buffer->bo); } }