glsl/nir: Set explicit types on UBO/SSBO variables
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 9 Mar 2019 15:40:09 +0000 (09:40 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 15 Mar 2019 01:02:19 +0000 (01:02 +0000)
commit76ba225184ed6e7f8cf0b427ae2ad81daa105ffb
treed7436e1297b4c590343f97888a029bd022a404e2
parent8f3ab8aa7824a2f306b542a50b304675ce8f7e1a
glsl/nir: Set explicit types on UBO/SSBO variables

We want to be able to use variables and derefs for UBO/SSBO access in
NIR.  In order to do this, the rest of NIR needs to know the type layout
information.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/glsl/glsl_to_nir.cpp