radv: fix writing depth/stencil clear values to image
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Sep 2019 08:58:04 +0000 (10:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 18 Sep 2019 11:27:46 +0000 (13:27 +0200)
commit46b7512b0a73b24a00fa9308a44ab4ffe6054874
tree234ae3ebf5b7ab67e9b36d59f025476188ddbc66
parent88e5796daaf6ea9515326ebec45d296fecc5689c
radv: fix writing depth/stencil clear values to image

Use the fastest way only if both aspects are used. Oops.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111728
Fixes: 218ce34962c ("radv: add mipmap support for the clear depth/stencil values")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c