radv: do not add the image BO in radv_set_depth_clear_regs()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 15 Nov 2017 14:44:00 +0000 (15:44 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 20 Nov 2017 09:45:23 +0000 (10:45 +0100)
commite55b7609fa2b2c692d5cf56732b198ccf89fde2e
tree2744ddb7dfc5561a99dcf4ae516ae74adff0804b
parent3c6bba83f0cceb0dbc5f2ce0519131ee08ab645a
radv: do not add the image BO in radv_set_depth_clear_regs()

For the fast path, radv_fill_buffer() ensures that the BO is
already in the list. For the slow path, the depth surface is
part of the framebuffer which means the BO is added to the list
when the framebuffer is emitted.

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