radv: fix potential crash in the compute resolve path
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Jul 2019 06:54:48 +0000 (08:54 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Jul 2019 10:22:43 +0000 (12:22 +0200)
commit8a425e057d7e47439d95c3be4405858ec66df3e4
tree519fc1c78dead947441b673c679ed903bdec2dfc
parent0cc02c9ea6198d498d8cebad524c3875d2d692f0
radv: fix potential crash in the compute resolve path

If the destination attachment is UNUSED.

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