Otherwise, the shader BOs are not added to the list on SI because prefetching isn't supported. Calling radv_cs_add_buffer() in the prefetch codepath was a bad idea.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105952 Fixes: 4ad7595f35 ("radv: rename radv_emit_prefetch() to radv_emit_prefetch_L2")
9f6a28eb27 radv: add shader BOs to the list at pipeline bind time
src/amd/vulkan/radv_cmd_buffer.c | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)