nir/serialize: pack src better and limit the object count to 1M from 1G
authorMarek Olšák <marek.olsak@amd.com>
Wed, 30 Oct 2019 22:14:37 +0000 (18:14 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 23 Nov 2019 05:02:10 +0000 (00:02 -0500)
commitc358c2b2bfbf6f68f1e181c980bbb17335f9a267
tree2363fdb13cf8074a36a199cd3f84085be6a87b9b
parent35655865cbde648f6dcfad38fa095d9ec0c4e45b
nir/serialize: pack src better and limit the object count to 1M from 1G

We need to limit the object count to 1M to free 10 bits for the src
modifiers.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_serialize.c