i965: Add shader cache support for vertex and fragment stages
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 23 Jan 2017 21:41:36 +0000 (08:41 +1100)
committerJordan Justen <jordan.l.justen@intel.com>
Wed, 1 Nov 2017 06:36:54 +0000 (23:36 -0700)
commit2589e7ddafb63583498f5f7138914d2a2e634960
tree86876affe556456b499d78a3189bc2f3e637c08f
parent516d50db319396c23fd599012aec8b3fbc0ee5a6
i965: Add shader cache support for vertex and fragment stages

This enables the cache on vertex and fragment shaders only.

v2:
 * Use MAYBE_UNUSED. (Matt)

[jordan.l.justen@intel.com: reword subject]
[jordan.l.justen@intel.com: *_cached_program => brw_disk_cache_*_program]
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm.c