anv: Also cache the struct anv_pipeline_binding maps
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Fri, 4 Mar 2016 20:56:14 +0000 (12:56 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 5 Mar 2016 21:50:07 +0000 (13:50 -0800)
commit6139fe9a7790e0946e465f275d3f530552edbcdc
treece5d45cc5fbb0c00e91a1a9b99e23454801f8dac
parent584f39c65ed24d6c331d8ccf05d93678f3fafe16
anv: Also cache the struct anv_pipeline_binding maps

This is state the we generate when compiling the shaders and we need it
for mapping resources from descriptor sets to binding table indices.
src/intel/vulkan/anv_nir.h
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_pipeline_cache.c
src/intel/vulkan/anv_private.h