mesa/src/amd/vulkan
Timur Kristóf deab81fb0d radv: Configure implicit VS primitive ID to be per-primitive.
This is beneficial to applications that rely on
the implicit primitive ID from VS.

- We don't have to disable provoking vertex reuse,
  which results in more efficient vertex processing.
- There is no LDS access needed to export the primitive ID,
  because it is already available to GS threads.
- As a consequence of not needing LDS, we can use this
  together with NGG passthrough mode.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32270>
2024-12-12 18:11:47 +00:00
..
bvh vulkan/runtime,radv: Add shared BVH building framework 2024-12-01 20:08:35 +01:00
layers radv: promote VK_KHR_map_memory2 to core 1.4 API 2024-12-03 10:21:55 +00:00
meta radv/meta: move vk_meta_device_init() to radv_device_init_meta() 2024-12-11 07:25:29 +00:00
nir radv: Reorder FS primitive ID input after layer and viewport. 2024-12-12 18:11:47 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv: promote VK_KHR_global_priority to core 1.4 API 2024-12-03 10:21:54 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv: advertise Vulkan 1.4 on GFX8+ 2024-12-03 10:21:55 +00:00
radv_acceleration_structure.c vulkan: Fix the argument order of update_as 2024-12-12 11:15:08 +00:00
radv_aco_shader_info.h radv, aco: Consolidate num_interp + num_prim_interp into num_inputs. 2024-11-28 18:14:57 +00:00
radv_android.c radv: add address binding report support for BOs imported with a fd 2024-12-03 08:13:13 +00:00
radv_android.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_buffer.c radv: promote VK_KHR_maintenance6 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_buffer.h radv: add address binding report support for BOs imported with a ptr 2024-12-03 08:13:13 +00:00
radv_buffer_view.c radv: Remap 10 and 12 bit formats to 16 bit formats 2024-10-16 14:30:15 +00:00
radv_buffer_view.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_check_va.py radv: Add sparse mappings to radv_check_va.py. 2024-11-29 12:57:42 +00:00
radv_cmd_buffer.c radv: Reorder FS primitive ID input after layer and viewport. 2024-12-12 18:11:47 +00:00
radv_cmd_buffer.h radv: pass the image subresource range to radv_{src,dst}_access_flush() 2024-11-12 17:27:39 +00:00
radv_constants.h radv: remove RADV_MAX_DRM_DEVICES 2024-10-07 11:42:37 +00:00
radv_cp_dma.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cp_dma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cp_reg_shadowing.c radv: pad GFX preambles IBs with only one NOP 2024-08-21 14:55:04 +00:00
radv_cp_reg_shadowing.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cs.c radv: don't assume that TC_ACTION_ENA invalidates L1 cache on gfx9 2024-06-11 06:15:12 +00:00
radv_cs.h radv: rename radeon perfctr uconfig helpers 2024-05-15 11:34:35 +00:00
radv_debug.c radv: dump the Mesa version with RADV_DEBUG=hang 2024-12-09 18:25:24 +00:00
radv_debug.h radv: remove remaining discard to demote options 2024-12-11 17:59:13 +00:00
radv_descriptor_set.c radv: promote VK_KHR_push_descriptor to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_descriptor_set.h radv: use blake3 for hashing pipeline layouts 2024-07-10 07:35:19 +00:00
radv_device.c radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_device.h radv: dump address binding report with RADV_DEBUG=hang 2024-12-03 08:13:13 +00:00
radv_device_memory.c radv: promote VK_KHR_map_memory2 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_device_memory.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_dgc.c radv: promote VK_KHR_index_type_uint8 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_dgc.h radv: implement VK_EXT_device_generated_commands 2024-10-28 16:27:35 +00:00
radv_event.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_event.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_formats.c radv: fix disabling DCC for stores with drirc 2024-12-12 09:11:37 +00:00
radv_formats.h treewide: Stop putting enum in front of Vulkan enum types 2024-12-02 17:22:49 +00:00
radv_image.c radv: add radv_disable_dcc_stores and enable for Indiana Jones: The Great Circle 2024-12-09 17:52:43 +00:00
radv_image.h radv: optimize the pipe misaligned L2 cache invalidation on GFX11 2024-11-12 17:27:39 +00:00
radv_image_view.c radv: Move ac_addrlib to the physical device 2024-10-28 20:06:38 +00:00
radv_image_view.h radv: stop passing image create flags to radv_image_view_init() 2024-10-02 09:28:51 +00:00
radv_instance.c radv: add radv_disable_dcc_stores and enable for Indiana Jones: The Great Circle 2024-12-09 17:52:43 +00:00
radv_instance.h radv: add radv_disable_dcc_stores and enable for Indiana Jones: The Great Circle 2024-12-09 17:52:43 +00:00
radv_llvm_helper.cpp amd,radeonsi: reduce legacy::PassManager use to only run backend passes 2024-10-05 09:10:06 +00:00
radv_llvm_helper.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_nir_to_llvm.c amd,radeonsi: use new pass manager to handle midend optimizations 2024-10-05 09:10:06 +00:00
radv_nir_to_llvm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_perfcounter.c radv: Fix shader mask for SQ_WGP SPM counters 2024-07-16 16:10:11 +00:00
radv_perfcounter.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_physical_device.c radv: increase maxComputeWorkGroupCount[0] 2024-12-12 17:38:47 +00:00
radv_physical_device.h radv: remove remaining discard to demote options 2024-12-11 17:59:13 +00:00
radv_pipeline.c radv: constant fold after lowering memory accesses 2024-12-09 16:56:29 +00:00
radv_pipeline.h radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_pipeline_binary.c radv: fix generating the global key for pipeline binaries 2024-10-09 21:15:48 +00:00
radv_pipeline_binary.h radv: add initial support for pipeline binaries 2024-09-10 08:19:52 +00:00
radv_pipeline_cache.c radv: fix printing with RADV_DEBUG=psocachestats 2024-11-25 07:36:49 +00:00
radv_pipeline_cache.h radv: add initial support for pipeline binaries 2024-09-10 08:19:52 +00:00
radv_pipeline_compute.c radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_pipeline_compute.h radv: fix skipping on-disk shaders cache when not useful 2024-11-20 10:01:26 +00:00
radv_pipeline_graphics.c radv: fix alpha-to-coverage with alpha-to-one when MRTZ is also exported 2024-12-11 10:50:31 +00:00
radv_pipeline_graphics.h treewide: Stop putting enum in front of Vulkan enum types 2024-12-02 17:22:49 +00:00
radv_pipeline_rt.c radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_pipeline_rt.h radv: add initial support for pipeline binaries 2024-09-10 08:19:52 +00:00
radv_printf.c radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_printf.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_query.c radv: stop emulating GS invocations for legacy GS on RDNA1-2 2024-09-20 12:28:08 +00:00
radv_query.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_queue.c radv: promote VK_KHR_global_priority to core 1.4 API 2024-12-03 10:21:54 +00:00
radv_queue.h radv: promote VK_KHR_global_priority to core 1.4 API 2024-12-03 10:21:54 +00:00
radv_radeon_winsys.h radv: Move ac_addrlib to the physical device 2024-10-28 20:06:38 +00:00
radv_rmv.c radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_rmv.h radv/rmv: fix image binds logging for disjoint images 2024-04-10 11:23:40 +00:00
radv_rra.c radv: promote VK_KHR_maintenance5 to core 1.4 API 2024-12-03 10:21:55 +00:00
radv_rra.h radv/rra: Reduce the memory requirement of copy_after_build 2024-06-21 17:47:53 +00:00
radv_sampler.c ac,radv,radeonsi: introduce a helper to build a sampler descriptor 2024-05-17 13:43:12 +00:00
radv_sampler.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sdma.c radv: fix stencil only copies of depth/stencil images with SDMA 2024-12-04 09:30:36 +00:00
radv_sdma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_shader.c radv: Configure implicit VS primitive ID to be per-primitive. 2024-12-12 18:11:47 +00:00
radv_shader.h radv: remove redundant drirc for incorrect dual-source blending 2024-12-06 07:54:23 +00:00
radv_shader_args.c radv: add support for load_pixel_coord 2024-11-04 12:34:30 +00:00
radv_shader_args.h radv: rename shader_query_state to task_state 2024-09-24 06:00:00 +00:00
radv_shader_info.c radv: Configure implicit VS primitive ID to be per-primitive. 2024-12-12 18:11:47 +00:00
radv_shader_info.h radv: Remove now unused num_prim_interp from shader_info. 2024-11-28 18:14:57 +00:00
radv_shader_object.c radv: fix alpha-to-coverage with alpha-to-one when MRTZ is also exported 2024-12-11 10:50:31 +00:00
radv_shader_object.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_spm.c radv: resize the SPM bo when it's too small 2024-10-29 18:33:17 +00:00
radv_spm.h radv: resize the SPM bo when it's too small 2024-10-29 18:33:17 +00:00
radv_sqtt.c radv: add new start/stop sqtt helpers for capturing with SQTT 2024-11-28 07:03:21 +00:00
radv_sqtt.h radv: add new start/stop sqtt helpers for capturing with SQTT 2024-11-28 07:03:21 +00:00
radv_video.c radv/video: set max slice counts to 1 for h264/5 encode 2024-12-11 01:11:32 +00:00
radv_video.h ac/vcn: allow sq signature package to be skipped 2024-11-29 10:01:49 +10:00
radv_video_enc.c radv/video: Fix bitstreamStartOffset including dstBufferOffset 2024-12-03 22:19:43 +00:00
radv_wsi.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_wsi.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00