anv: Move shader hashing to anv_pipeline
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 27 Apr 2017 13:25:06 +0000 (06:25 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 May 2017 18:25:46 +0000 (11:25 -0700)
commitdcb6a68bb4f69dd83f65dfbaecd4c8a0be7aec12
treec39042bddaa0a6d18b1b14d71e80c3f4645fe999
parentd6b8106eeacb38ef2189e905b01c3e3eeb9cc992
anv: Move shader hashing to anv_pipeline

Shader hashing is very closely related to shader compilation.  Putting
them right next to each other in anv_pipeline makes it easier to verify
that we're actually hashing everything we need to be hashing.  The only
real change (other than the order of hashing) is that we now hash in the
shader stage.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_pipeline_cache.c
src/intel/vulkan/anv_private.h