radv: update the fast color clear values only if the image is bound
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 14 Jun 2018 11:26:18 +0000 (13:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 15 Jun 2018 13:53:55 +0000 (15:53 +0200)
commitd7b772abb48edde69485415365f77d5462ab2157
treeba8d392d0ef0fd6010736013e71ee5e307aff1e0
parentefae1279936112cefe9fa1753998993df81d6201
radv: update the fast color clear values only if the image is bound

It's unnecessary to update the fast color clear values if the
fast cleared color 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