nir: move gls_type_get_{sampler,image}_count()
authorRob Clark <robdclark@gmail.com>
Tue, 19 Mar 2019 19:54:32 +0000 (15:54 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Mar 2019 13:13:05 +0000 (09:13 -0400)
commitd4cbc946859f56f0a2a50cd8931a6fd29ab22db9
tree6e91b41f0490046cbe106f229b8c9f7e5c149a19
parent8eb16ae8bfb1b8a74b86ea57d6b9e467e30bc4f3
nir: move gls_type_get_{sampler,image}_count()

I need at least the sampler variant in ir3..

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/nir/nir_gather_info.c
src/compiler/nir_types.cpp
src/compiler/nir_types.h