nir: Use 8-bit types for most info fields
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 14 May 2020 19:50:52 +0000 (14:50 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 03:49:18 +0000 (03:49 +0000)
commitea62c237031a05e82147bca2699269bf2d80fa05
tree14225795b1f7e085318c513f716c8e66c0a0644b
parent57e796a12a883f5845c8e0ed05ec6bdb6d055b53
nir: Use 8-bit types for most info fields

This shrinks nir_intrinsics.c.o from 73K to 35K and nir_opcodes.c.o from
64K to 31K on a release build.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5045>
src/compiler/nir/nir.h
src/compiler/nir/nir_serialize.c