spirv: Propagate explicit layout only in types that need it
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 29 Jul 2020 19:42:08 +0000 (12:42 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 4 Aug 2020 14:53:37 +0000 (07:53 -0700)
commitb98dd704894713b5f0b8fa2c1b52c0b970e9f89b
tree3fa69f29c7d335025f59c05fbed8a9edfbff46c5
parent9a9b35a3bb40d736f3a89d27da10f8a7354bc1ed
spirv: Propagate explicit layout only in types that need it

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5511>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_variables.c