nir: Allow storing to shader_storage
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 14 Dec 2018 17:31:08 +0000 (11:31 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Jan 2019 00:38:29 +0000 (00:38 +0000)
commitc9a4135e1486766b85437201fec26d467b44705a
treee1a41abec677d83ca31d553740194d189b8367d8
parentcd93b0a670f277349b421664583196a56e3a9f50
nir: Allow storing to shader_storage

I have no idea how shader_storage made it into the list of banned
variable modes for stores but it clearly should be allowed.  This only
doesn't cause us a problem today because we never actually use derefs on
shader_storage variables.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_validate.c