nvc0: share shaders between contexts and build immediately
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 20 Oct 2015 22:50:54 +0000 (18:50 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 29 Oct 2015 04:44:22 +0000 (00:44 -0400)
commita5bae7b31d642ad55bc7bed4f2130788413a1d21
tree8707f2b66c011553f29fedcccd0f487c624f386c
parentb75fff70d82474a571c59c2a3a01e4f9f02286a7
nvc0: share shaders between contexts and build immediately

Avoid deferring building shaders until draw time, should hopefully
reduce any stuttering, as well as enable shader-db style analysis.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_state.c
src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c