commit | 39a120aefe43f7b664713b5d0aff13f0a2a19168 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Wed Feb 10 09:43:03 2016 -0800 |
committer | Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com> | Fri Feb 12 11:53:49 2016 -0800 |
tree | 9f6581ba0dc7f8fce8baab8ca9a4e8396fc9acab | |
parent | 03bea8fda790592685d33743a5c9ce36b2fa91f0 [diff] |
anv: Implement VkPipelineCache We hash the input SPIR-V, specialization constants, entrypoint and the shader key using SHA1 to determine a unique identifier for the combination. A VkPipelineCache is then a hash table mapping these identifiers to the corresponding prog_data and kernel data.