spirv: Ignore ArrayStride for storage classes that should not use it
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 3 Jul 2019 20:14:33 +0000 (13:14 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 15 Jul 2019 23:18:57 +0000 (16:18 -0700)
commit1210e8caaffd7dfaa0db2bee2047133c0fe76e13
treeba43590dc5831d29de73c8e1a4b1cfcf9178875b
parent026cfa10995ff3316476fa19507fa27adc531de5
spirv: Ignore ArrayStride for storage classes that should not use it

The stride was already overriden when using
lower_workgroup_access_to_offsets, so elaborate a bit the commentary
there.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c