nir: add glsl_get_ifc_packing() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 30 Apr 2020 03:36:02 +0000 (13:36 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 02:22:23 +0000 (02:22 +0000)
commitbc79442f3fa23ecb40fcc67ea3cf4fd73fb0d3fe
tree3fe868137850d53f576af096fcd850f323239985
parent7ac617c1172a5031818fdd907579777acf7729b0
nir: add glsl_get_ifc_packing() helper

This will be used in the following patch.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4797>
src/compiler/nir_types.cpp
src/compiler/nir_types.h