From 56e1b1ff0cea2075ee554173fd319306668b340b Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 16 Sep 2019 16:16:05 +0200 Subject: [PATCH] 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 --- src/amd/vulkan/radv_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) 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); } } -- 2.30.2