radv: update the fast ds clear values only if the image is bound
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Jun 2018 11:26:20 +0000 (13:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Jun 2018 13:54:00 +0000 (15:54 +0200)
commit2193a6a828085e0ba63e2b768c2d86a86639831f
treec51669e9bd62dbeaf0371df5826810421f163d77
parentbe794fa26bd6c05be60a34b4c2773a75de4c7718
radv: update the fast ds clear values only if the image is bound

It's unnecessary to update the fast depth/stencil clear values
if the fast cleared depth/stencil image isn't currently bound.

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