summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_cmd_buffer.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-09-16 16:16:05 +0200
committerSamuel Pitoiset <[email protected]>2019-10-02 18:09:25 +0200
commit56e1b1ff0cea2075ee554173fd319306668b340b (patch)
tree5f63eb40cf1fb37845733f5fc8861d1f8715a2ef /src/amd/vulkan/radv_cmd_buffer.c
parent683c5e27c7304e6636579e1ff18331935268e9fb (diff)
radv/gfx10: add missing counter buffer to the BO list
The buffer isn't necessarily used before. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_cmd_buffer.c')
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}