nir/serialize: pack load_const with non-64-bit constants better
authorMarek Olšák <marek.olsak@amd.com>
Tue, 5 Nov 2019 03:15:17 +0000 (22:15 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 23 Nov 2019 05:02:10 +0000 (00:02 -0500)
commit75f7c388637917d796fdf86c645a03c31621c1ca
treec41536fab5f36cfacfc7ac8d09f42983dac5f85c
parenta572ba673b16e10576b45f9dd84638c0a22ce166
nir/serialize: pack load_const with non-64-bit constants better

v2: use blob_write_uint8/16

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_serialize.c