spirv: Claim support for the simple memory model
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 Oct 2017 17:08:21 +0000 (10:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 Oct 2017 22:24:38 +0000 (15:24 -0700)
commit8ab9820d34d3a454e455c99e28ed2b6031b25b0f
tree06119732055a73d04d2800b59099eab9265ee89d
parent90dd6e5bb9f490a5ba8b86c6b0145554fc8d8a84
spirv: Claim support for the simple memory model

It's rather surprising that we've never actually hit this before.
Aparently, Ian's SPIR-V generator currently claims the Simple when you
don't do anything complex.  We really shouldn't assert-fail on it.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: mesa-stable@lists.freedesktop.org
src/compiler/spirv/spirv_to_nir.c