glsl: move check_subroutine_resources() into the shared util code
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 Jan 2020 23:08:15 +0000 (10:08 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 10 Jan 2020 00:41:20 +0000 (00:41 +0000)
commita6fd1c7752787a42aef72f93ce4168c3e73808b7
treed96c2dd5403f0191214006fb761060457fe35c76
parent3dec68e6823ae74c71ce0a24f15cd33df3e08f9c
glsl: move check_subroutine_resources() into the shared util code

We will make use of this in 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