zink: use lowered io (kinda) for i/o vars
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 27 Jul 2023 17:47:13 +0000 (13:47 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 15 Aug 2023 11:54:05 +0000 (11:54 +0000)
commit9e42553ca8d30a2a2cb6781774631c45285d77dd
treebc60cfd77c679e6f99eac5bcc99b7608370b56de
parent0156058a3ba921bdc4f1131eda394bdf9570e455
zink: use lowered io (kinda) for i/o vars

this runs io lowering on shader create, which is a huge pita
and waste of time since it requires then re-creating all the deref io later,
but it also makes the variables simpler by eliminating struct awfulness
(which was already eliminated by the split_blocks pass, but who's keeping
track) and will enable future use of some bizarro inter-stage linker thing

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24634>
src/gallium/drivers/zink/zink_compiler.c