radv: skip updating depth/color metadata for conditional rendering
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 28 Mar 2019 11:23:24 +0000 (12:23 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 28 Mar 2019 16:37:12 +0000 (17:37 +0100)
commit6596eb2b3080e8858bee3d89041df068333c250a
tree5a02c874864f1bb8c5f971277173c9b57952fd58
parent1d72de3bcc9a5aa05ae612ee67ca00858f0d33fa
radv: skip updating depth/color metadata for conditional rendering

I don't think we should update metadata when conditional rendering
is enabled. For some reasons, some CTS breaks only on SI.

This fixes the following CTS on SI:
dEQP-VK.conditional_rendering.draw_clear.clear.depth.*

Cc: 19.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c