vc4: Don't look up the compiled shaders unless state has changed.
authorEric Anholt <eric@anholt.net>
Fri, 10 Oct 2014 12:17:15 +0000 (14:17 +0200)
committerEric Anholt <eric@anholt.net>
Fri, 10 Oct 2014 13:49:22 +0000 (15:49 +0200)
commitd09509da2aa5ff709c48bdc4163a2c57811c70ab
tree3bdeeeeda0d651036af40fbaaeaafb765ec64edf
parentc6f50c4086a96c3a8d84522ed7ee5c75a8b0868c
vc4: Don't look up the compiled shaders unless state has changed.

Improves simulated norast performance on a little benchmark by 38.0965%
+/- 3.27534% (n=11).
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_program.c