compiler/types: Add a struct_type_is_packed wrapper
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jul 2020 15:45:36 +0000 (10:45 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 4 Aug 2020 03:05:34 +0000 (03:05 +0000)
commit140a5492e0493d516b76ea7740c92516c91bf874
treeb73be7cdd7b5095260e9c9dc808488312e6dbe2e
parent66d8bbd822914f27814d05d2d21196072f41284b
compiler/types: Add a struct_type_is_packed wrapper

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6065>
src/compiler/nir_types.cpp
src/compiler/nir_types.h