nir: improve nir_variable packing
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 23 Oct 2019 00:43:59 +0000 (11:43 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 24 Oct 2019 02:24:40 +0000 (13:24 +1100)
commit922801b77d14bb7ebf762aa1f208997a072c9a1c
tree6d1eb8498a2177ffb5446aacbe2e29f34f11f6d8
parentc412ff426b5b7c86d726a07f12d44798bf055221
nir: improve nir_variable packing

Before:

/* size: 136, cachelines: 3, members: 10 */

After:

/* size: 128, cachelines: 2, members: 10 */

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
src/compiler/nir/nir.h