nir: add is_packing_supported_for_type() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 9 Dec 2018 22:42:42 +0000 (09:42 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 8 Feb 2019 02:54:56 +0000 (02:54 +0000)
commit2f532604173d9c9a35f57120cdb2c2ec8447b6d6
tree17fd41b77ae67af22e36e2e4bb9ea5f25ea0d3a7
parente041123841385d308b1cdd91d8f83d1633cd31a8
nir: add is_packing_supported_for_type() helper

This will be used in the following patches to determine if we
support packing the components of a varying.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_linking_helpers.c