mesa/src/intel/vulkan
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
..
tests anv/tests: Silence unused parameter warnings in main 2020-05-14 16:47:08 +00:00
anv_allocator.c anv/allocator: Compare to start_offset in state_pool_free_no_vg 2020-06-09 22:52:26 +00:00
anv_android.c mesa: Promote Intel's simple logging façade for Android to util/ 2020-09-28 09:14:44 -07:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c anv: drop likely/unlikely around INTEL_DEBUG 2020-10-06 18:43:07 +00:00
anv_blorp.c anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
anv_cmd_buffer.c anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
anv_descriptor_set.c anv: Use format_for_descriptor_type for descriptor buffers 2020-10-08 01:17:11 -05:00
anv_device.c anv: Bump the number of update-after-bind descriptors to 1M 2020-10-19 14:50:47 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
anv_extensions.py anv: Implement VK_EXT_transform_feedback on Gen7 2020-10-05 22:34:07 +00:00
anv_extensions_gen.py anv: use the common code for generating extensions and dispatch tables 2020-05-13 08:45:28 +02:00
anv_formats.c anv: Implement VK_EXT_4444_formats 2020-08-03 17:50:03 +00:00
anv_gem.c anv: add new gem/drm helpers 2020-09-01 16:40:11 +00:00
anv_gem_stubs.c anv: add new gem/drm helpers 2020-09-01 16:40:11 +00:00
anv_genX.h anv: fix up dynamic clip emission 2020-08-11 10:07:08 +03:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c Revert "anv: Add driconf option to disable compression for 16bpp format" 2020-10-08 20:47:24 +00:00
anv_intel.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_nir.h anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +00:00
anv_nir_add_base_work_group_id.c anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
anv_nir_apply_pipeline_layout.c nir: Rename get_buffer_size to get_ssbo_size 2020-09-22 13:34:12 +00:00
anv_nir_compute_push_layout.c anv: fix robust buffer access 2020-08-31 19:24:42 +00:00
anv_nir_lower_multiview.c anv: Use nir_lower_multiview pass 2020-09-29 10:31:59 +00:00
anv_nir_lower_ycbcr_textures.c anv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
anv_pass.c anv: Plumb the device into *bits_for_access_flags 2020-10-08 01:17:11 -05:00
anv_perf.c anv: drop likely/unlikely around INTEL_DEBUG 2020-10-06 18:43:07 +00:00
anv_pipeline.c intel/compiler, anv: Delete cs_prog_data->slm_size 2020-10-14 23:13:41 +00:00
anv_pipeline_cache.c anv: remove VkPipelineCacheCreateInfo::flags assert 2020-10-06 10:29:33 -04:00
anv_private.h anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
anv_queue.c anv: Check file descriptor before closing. 2020-09-28 15:34:01 -07:00
anv_util.c mesa: Promote Intel's simple logging façade for Android to util/ 2020-09-28 09:14:44 -07:00
anv_wsi.c anv: implement shareable timeline semaphores 2020-09-01 16:40:11 +00:00
anv_wsi_display.c vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
anv_wsi_wayland.c anv: drop unused includes 2018-10-24 18:15:05 +01:00
anv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
gen7_cmd_buffer.c anv: centralize vk to gen arrays 2020-08-11 10:07:08 +03:00
gen8_cmd_buffer.c anv: centralize vk to gen arrays 2020-08-11 10:07:08 +03:00
genX_blorp_exec.c anv: store the workaround address 2020-05-20 15:58:22 +00:00
genX_cmd_buffer.c anv: Ignore continue flag in primary cmd buffers 2020-10-19 09:14:29 +02:00
genX_gpu_memcpy.c anv:gpu_memcpy: Emit 3DSTATE_VF_INDEXING on Gen8+ 2020-05-18 21:42:05 +00:00
genX_pipeline.c anv: Implement VK_EXT_transform_feedback on Gen7 2020-10-05 22:34:07 +00:00
genX_query.c anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
genX_state.c intel/gen9: Enable MSC RAW Hazard Avoidance 2020-10-01 16:57:50 +00:00
meson.build anv: Don't generate Gen10-specific functions 2020-10-15 09:29:54 -07:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00
vk_format_info.h anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00