radv: when loading regs no need to add buffer
authorDave Airlie <airlied@redhat.com>
Mon, 6 Nov 2017 02:17:09 +0000 (02:17 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Nov 2017 21:44:49 +0000 (21:44 +0000)
commit31b5da7958a8d7635d39ec160723bf6950443b32
treee292f858f37e435a161a2386b3b92ed1bc63983e
parent3bf8be41b8ea2a40e78f26159a905dd5a005af5b
radv: when loading regs no need to add buffer

The function that calls us has just added the buffer to the
list already, no need to try and add it again.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_cmd_buffer.c