tu: Use an input for the layer when lowering input attachments
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 1 Jul 2020 15:21:47 +0000 (17:21 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 16:36:43 +0000 (16:36 +0000)
commit76f711d09d2f8c9b3bcd9f8c1694e553a486ac1f
treeda6a5db35ae1677b3e8330eaab5140839db221d8
parentc77716294b771918bf65358131bce1853b8be638
tu: Use an input for the layer when lowering input attachments

Also remove a hack that's no longer needed. This should fix input
attachments with layered rendering.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5719>
src/freedreno/vulkan/tu_shader.c