st/mesa: finalise tcs/tes/geom NIR before storing it to the cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 5 Apr 2018 06:36:09 +0000 (16:36 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 10 Apr 2018 05:10:16 +0000 (15:10 +1000)
commit6066f08ee937ad73dd06ec763dff0223d5268874
treedd8e48bd8216401b8cc1e9cc541af90c54f9ec5a
parentbc71e20993a456ab17e1775bf905fa000aae4c71
st/mesa: finalise tcs/tes/geom NIR before storing it to the cache

We don't create variants of the NIR so here we finalise it before
caching to avoid unnecessary processing when restoring it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_program.c