mesa/src/intel/vulkan
Jordan Justen c7d8a69249 intel/devinfo: Add devinfo->max_scratch_ids
This consolidates several duplicated pieces of code into devinfo.
max_scratch_ids is an array that provides the max number of threads
for the rendering and compute stages.

This fixes some exceptions missed by crocus for scratch ids on haswell
and cherryview.

It also fills out devinfo->max_scratch_ids properly for stages VS
through CS on Gfx12.5. But, functionally this should not make a
difference as Gfx12.5 already uses COMPUTE for all stages.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12799>
2021-09-13 13:26:51 -07:00
..
tests anv: implement INTEL_DEBUG=submit 2021-03-04 19:46:24 +02:00
anv_acceleration_structure.c anv: Add stub support for acceleration structures 2021-06-22 21:09:25 +00:00
anv_allocator.c intel/devinfo: Add devinfo->max_scratch_ids 2021-09-13 13:26:51 -07:00
anv_android.c anv: Make anv_image derive from vk_image 2021-08-17 21:29:34 +00:00
anv_android.h anv/android: handle image bindings from gralloc buffers 2021-08-13 08:30:25 +00:00
anv_android_stubs.c anv/android: handle image bindings from gralloc buffers 2021-08-13 08:30:25 +00:00
anv_batch_chain.c intel: Parse INTEL_NO_HW for devinfo construction 2021-08-24 00:12:47 +00:00
anv_blorp.c anv,vulkan: Move VkImageSubresource* helpers from ANV 2021-08-17 21:29:35 +00:00
anv_cmd_buffer.c anv: Make anv_image_view derive from vk_image_view 2021-08-17 21:29:35 +00:00
anv_descriptor_set.c anv: keep descriptor set's address directly in anv_descriptor_set 2021-06-30 08:41:41 +00:00
anv_device.c intel: Move subslice_total into devinfo 2021-09-13 13:26:23 -07:00
anv_formats.c anv: Make anv_image_aspect_to_plane take an anv_image* 2021-08-09 16:07:23 +00:00
anv_gem.c anv: Use I915_USERPTR_PROBE when available 2021-08-12 15:07:23 -05:00
anv_gem_stubs.c anv: Wrapper around I915_GEM_CREATE_EXT_MEMORY_REGIONS 2021-06-24 16:14:38 +00:00
anv_genX.h anv: Add genX(cmd_buffer_emit_gfx12_depth_wa) 2021-08-20 17:50:35 +00:00
anv_image.c anv/image: Don't assert that HiZ can be added 2021-08-25 22:39:30 +00:00
anv_measure.c intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
anv_measure.h intel: support secondary command buffers in INTEL_MEASURE 2021-02-01 17:24:57 -08:00
anv_nir.h anv: Do UBO loads with global addresses for bindless 2021-03-17 17:49:59 +00:00
anv_nir_add_base_work_group_id.c nir: Rename WORK_GROUP (and similar) to WORKGROUP 2021-06-07 22:34:42 +00:00
anv_nir_apply_pipeline_layout.c anv: No need to lower to A64 messages for 64-bit atomics 2021-09-09 23:34:33 +00:00
anv_nir_compute_push_layout.c anv: Support fetching descriptor addresses from push constants 2021-06-22 21:09:25 +00:00
anv_nir_lower_multiview.c intel: Rename gen field in gen_device_info struct to ver 2021-04-02 18:33:07 +00:00
anv_nir_lower_ubo_loads.c anv: Add a pass for lowering A64 UBO access 2021-03-17 17:49:59 +00:00
anv_nir_lower_ycbcr_textures.c Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-04-15 16:01:22 +00:00
anv_pass.c anv: Use vk_object_alloc/free 2021-04-10 02:18:02 +00:00
anv_perf.c intel/perf: allow metric sets to be loaded with on OA reports 2021-05-18 14:28:48 +00:00
anv_pipeline.c anv: Advertise support for shaderBufferFloat64AtomicMinMax 2021-09-09 23:34:33 +00:00
anv_pipeline_cache.c anv: Compile ray-tracing shaders 2021-06-22 21:09:25 +00:00
anv_private.h intel: Move subslice_total into devinfo 2021-09-13 13:26:23 -07:00
anv_queue.c intel: Parse INTEL_NO_HW for devinfo construction 2021-08-24 00:12:47 +00:00
anv_util.c anv: Add ANV_PIPE_HDC_PIPELINE_FLUSH_BIT 2021-06-15 12:57:42 +00:00
anv_wsi.c intel: Rename gen_{mapped, clflush, invalidate} prefix to intel_{..} 2021-04-20 20:06:34 +00:00
anv_wsi_display.c anv: Implement VK_EXT_acquire_drm_display 2021-07-13 20:50:32 +00:00
anv_wsi_wayland.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
anv_wsi_x11.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
genX_blorp_exec.c intel: Move the D16 workarounds out of ISL 2021-08-20 17:50:35 +00:00
genX_cmd_buffer.c intel: Move subslice_total into devinfo 2021-09-13 13:26:23 -07:00
genX_gpu_memcpy.c anv: Cache VB/IB in L3$ for Gfx12 2021-06-15 12:57:42 +00:00
genX_pipeline.c intel: Move subslice_total into devinfo 2021-09-13 13:26:23 -07:00
genX_query.c anv: remove dead code 2021-06-30 22:34:42 +00:00
genX_state.c anv: fix some multisample lines_wide CTS tests 2021-07-15 17:07:35 +00:00
gfx7_cmd_buffer.c anv: fix emitting dynamic primitive topology 2021-06-23 12:01:45 +00:00
gfx8_cmd_buffer.c anv: Make anv_image derive from vk_image 2021-08-17 21:29:34 +00:00
meson.build anv: Add minimal boilerplate for VK_KHR_acceleration_structure 2021-06-22 21:09:25 +00:00
TODO intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00