glsl: move uniform resource checks into the common linker code
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 Jan 2020 23:27:39 +0000 (10:27 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 10 Jan 2020 00:41:20 +0000 (00:41 +0000)
commit05c1f7a15447a9cc0f0bdd2d2f109092cb7c9f9e
tree0d539e6c5beb398abf196ca1a10409087df2147f
parentb85985dd5163365a068557497c987005934e2521
glsl: move uniform resource checks into the common linker code

We will call this from the nir linker in the following patch.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/linker.cpp
src/compiler/glsl/linker_util.cpp
src/compiler/glsl/linker_util.h