nir/spirv: Split up Uniform and UniformConstant storage classes
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:26 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:52 +0000 (15:26 -0700)
commit4e0280d37d1cdbe72199801f8e857bd8c88d1de5
treee9f9af8c05654d13ab3959f372c98f75cd39b022
parent32a60dbef390d3e823cfe562ff4997812b86ed73
nir/spirv: Split up Uniform and UniformConstant storage classes

We were originally handling them together because I was rather unclear
on the distinction.  However, keeping them combined keeps the confusion.
Split them up so that it's more clear from the code how we expect the
two storage classes to be used.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/vtn_variables.c