tu: Force gl_Layer to 0 when necessary
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 3 Jul 2020 10:03:00 +0000 (12:03 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Jul 2020 08:10:47 +0000 (08:10 +0000)
commitf69c3849b8c397f48a8d6f22d1991ae927a31657
treeaa95bfc4583e8d39c28648d4f539e79883c719b9
parent4f91345f4923134b226ecd94e5636ea81c97e284
tu: Force gl_Layer to 0 when necessary

In particular this will help us implement input attachments correctly
with layered rendering.

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