glsl: add get_internal_ifc_packing() type helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 24 Jul 2017 00:11:04 +0000 (10:11 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 22 Aug 2017 01:29:27 +0000 (11:29 +1000)
commit12e1f0c69676c256279f29309c36ece584f02c17
treebd9f6494bee067b98c3ec8f0d9548ed44f56ef4c
parent334a27afa75d31af40b265219ba504cbb8c81255
glsl: add get_internal_ifc_packing() type helper

This is used to avoid code duplication when selecting the
packing type for shared and packed layouts.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/compiler/glsl_types.h