anv: Use bindless textures and samplers
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Feb 2019 20:10:33 +0000 (14:10 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 19 Apr 2019 19:56:42 +0000 (19:56 +0000)
commite6803f6b6f06e805fe162d76aad5e25d2510232a
treeb13e87fa2c7d1fefc5f205858bb1fcd8e8a05613
parentbf61f057f72b57e977440ff66dc557d1140fede3
anv: Use bindless textures and samplers

This commit changes anv to put bindless handles and sampler pointers
into the descriptor buffer and use those instead of bindful when we run
out of binding table space.  This "spilling" of descriptors allows to to
advertise an almost unbounded number of images and samplers.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_nir_apply_pipeline_layout.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/genX_cmd_buffer.c
src/intel/vulkan/genX_state.c