radv: add the trace BO to the list when starting a new cmdbuf
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Jul 2018 10:43:41 +0000 (12:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 9 Jul 2018 11:57:01 +0000 (13:57 +0200)
commite8f82b33fbb572dea1c5b645ea3520915061cddc
tree7abf6c5611ae56c799c00534cc91e5a020945028
parent5e5a28d52a8068419ec795843777048236b36bcf
radv: add the trace BO to the list when starting a new cmdbuf

That might reduce CPU overhead a little bit when using
RADV_TRACE_FILE.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c