nir: add glsl_get_internal_ifc_packing() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 16 Jan 2020 02:24:19 +0000 (13:24 +1100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 23:22:14 +0000 (23:22 +0000)
commit262b611a5bb08ebb8d2876bc44a44952d610a248
tree20946c21ecab981312bdcac4a3a26addc945ebce
parenta02d8e040fb6cbf43a75932104e2b49807723280
nir: add glsl_get_internal_ifc_packing() helper

This will be used by the nir glsl linker for linking uniforms.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4050>
src/compiler/nir_types.cpp
src/compiler/nir_types.h