mesa/src/intel
Jason Ekstrand dd1971c9d8 anv: Bump the number of update-after-bind descriptors to 1M
It's a bit hard to exactly map our implementation to the limits
described by Vulkan.  The bindless surface handle in the extended
message descriptors is 20 bits and it's an index into the table of
RENDER_SURFACE_STATE structs that starts at bindless surface base
address.  This means that we can have at must 1M surface states
allocated at any given time.  Since most image views take two
descriptors, this means we have a limit of about 500K image views.

However, since we allocate surface states at vkCreateImageView time,
this means our limit is actually something on the order of 500K image
views allocated at any time.  The actual limit describe by Vulkan, on
the other hand, is a limit of how many you can have in a descriptor set.
Assuming anyone using 1M descriptors will be using the same image view
twice a bunch of times (or a bunch of null descriptors), we can safely
advertise a larger limit.  1M is what's required by D3D12, so let's
advertise that.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3335
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7180>
2020-10-19 14:50:47 +00:00
..
blorp intel: Silence many unused parameter warnings in blorp_genX_exec.h 2020-10-15 09:29:53 -07:00
common intel: Remove Gen10-specific cache config code 2020-10-15 09:29:54 -07:00
compiler intel/fs: Handle nir_intrinsic_terminate 2020-10-15 21:40:09 +00:00
dev intel: Remove Gen10-specific device entries 2020-10-15 09:29:54 -07:00
genxml intel/genxml: replace gen_sort_tags.py MIT licence with SPDX equivalent 2020-06-13 01:16:17 +00:00
isl intel/isl: Drop redundant unpack of unorm channels 2020-10-16 18:35:57 +00:00
perf intel: Remove Gen10-speicific perf support 2020-10-15 09:29:54 -07:00
tools intel: Add support for i945g to intel_stub_gpu. 2020-09-29 19:53:22 +00:00
vulkan anv: Bump the number of update-after-bind descriptors to 1M 2020-10-19 14:50:47 +00:00
Android.blorp.mk
Android.common.mk intel: split driver/device UUID generators 2020-10-07 11:11:23 +03:00
Android.compiler.mk
Android.dev.mk intel: add identifier for debug purposes 2020-05-20 15:58:22 +00:00
Android.genxml.mk intel/genxml: generate pack files for gen12 on android builds 2019-08-28 13:38:33 -07:00
Android.isl.mk intel/isl: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel: Remove Gen10-speicific perf support 2020-10-15 09:29:54 -07:00
meson.build meson: only build imgui when needed 2019-11-25 07:51:56 +00:00