anv: Flatten descriptor bindings in anv_nir_apply_pipeline_layout
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 19:09:39 +0000 (14:09 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 18 Nov 2019 18:35:14 +0000 (18:35 +0000)
commit0709c0f6b40b1e365104b248464ffefa746b5052
treec759dfc92f953fb00089b3d434394c6b887c112d
parentfa120cb31cd8802b2a3a758acb1d911b5cbb22a2
anv: Flatten descriptor bindings in anv_nir_apply_pipeline_layout

This lets us stop tracking the pipeline layout.  It also means less
indirection on a very hot path.  As an extra bonus, we can make some of
our data structures smaller.  No measurable CPU overhead improvement.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_cmd_buffer.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_pipeline.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_pipeline.c