radv: synchronize after performing a separate depth/stencil fast clears
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Nov 2019 15:55:02 +0000 (16:55 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Dec 2019 12:09:22 +0000 (13:09 +0100)
commitb603cc8c841c0c3ebec236a648e731caeb0a9b8d
tree767f88903cc8aa33d9a8a8c379999b33602eec6d
parentdadd6096644e2079470161b4547c319fbfc98361
radv: synchronize after performing a separate depth/stencil fast clears

For depth+stencil images, the driver might use an optimized path
if only one aspect is cleared. It either clears the depth or the
stencil part of HTILE. Because the two separate aspects might use
the same HTILE memory we have to synchronize.

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