anv/pipeline: Populate keys up-front
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 Oct 2017 01:59:33 +0000 (18:59 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Aug 2018 17:29:20 +0000 (10:29 -0700)
commit4a8236ae17ff58de238678b5bb78833ed35cba37
tree0e30bc059ca1c4790fc7affe7d78ba2af698e684
parent76503b319a35b0279afa68394909250bda3e25b3
anv/pipeline: Populate keys up-front

Instead of having each anv_pipeline_compile_* function populate the
shader key, make it part of the anv_pipeline_stage struct and fill it
out up-front.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/intel/vulkan/anv_pipeline.c