radv: don't set surf_index for stencil-only images
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 14 Dec 2018 16:47:09 +0000 (16:47 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 17 Dec 2018 14:52:10 +0000 (14:52 +0000)
commitbba94a3d85c8799b2441a5d41015091e8903738f
treed2664c2b84346080a75eba20bc7ca4f7ec6eae43
parent9dc135efa1f3edf344ba57e1bbe076c805c8903a
radv: don't set surf_index for stencil-only images

Fixes: f8d5b377c8b ('radv: set cb base tile swizzles for MRT speedups (v4)')
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108116
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_image.c