vc4: Move rasterizer state packing to CSO creation time.
authorEric Anholt <eric@anholt.net>
Mon, 6 Feb 2017 22:06:12 +0000 (14:06 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 30 Jun 2017 19:25:45 +0000 (12:25 -0700)
commitf6c5c6b9be1a241c095af2da985c25b95ffbaa25
treeebc223d7ddc9e367cae229ffb48b93711bdd4fce
parentbd1925562ad19e0972e06371dfb695b5e75cb7e4
vc4: Move rasterizer state packing to CSO creation time.

This gets our vc4_emit.c size back down a bit:

before:
   1020       0       0    1020     3fc src/gallium/drivers/vc4/.libs/vc4_emit.o

after:
    968       0       0     968     3c8 src/gallium/drivers/vc4/.libs/vc4_emit.o
src/gallium/drivers/vc4/vc4_cl.h
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_emit.c
src/gallium/drivers/vc4/vc4_state.c