mesa/src/amd/vulkan
Marek Olšák 52c41f25de ac/nir/tess: don't allocate LDS for HS inputs that are passed via VGPRs
Right now we don't allocate LDS for HS inputs when all HS inputs are passed
via VGPRs.

This changes it to skip allocating exactly the HS inputs passed via VGPRs
by reducing the inputs_read mask to remove holes.

radeonsi changes to the LDS allocation will be in a different MR.

Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30962>
2024-09-05 19:54:29 +00:00
..
bvh radv/rt: Don't atomicAdd local prefix sums 2024-08-09 18:12:52 +00:00
layers build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
meta radv: use the Mesa-specifc dynamic rendering flag for meta operations 2024-08-23 12:20:02 +00:00
nir ac/nir/tess: don't allocate LDS for HS inputs that are passed via VGPRs 2024-09-05 19:54:29 +00:00
radix_sort build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv/amdgpu: assert that the DGC IB VA is correctly aligned 2024-08-26 08:22:06 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv/nir: add a pass to optimize shuffle/booleans dependent only on tid/consts 2024-07-17 15:04:38 +00:00
radv_acceleration_structure.c radv: Use vk_expand_(src|dst)_access_flags2 2024-06-28 10:41:49 +00:00
radv_aco_shader_info.h radv: update configuring COVERAGE_TO_SHADER_SELECT on GFX12 2024-06-06 15:42:35 +00:00
radv_android.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_android.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_buffer.c radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_buffer.h radv: Store range rather than bo_size in VkBuffer/VkImage. 2024-04-16 16:29:57 +02:00
radv_buffer_view.c radv: use new common helpers for building buffer descriptor 2024-05-22 08:31:39 +00:00
radv_buffer_view.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_check_va.py
radv_cmd_buffer.c radv: stop storing DGC info as part of the VBO descriptors 2024-09-04 06:17:37 +00:00
radv_cmd_buffer.h radv: stop storing DGC info as part of the VBO descriptors 2024-09-04 06:17:37 +00:00
radv_constants.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +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: Use the SPIR-V printer in spirv_to_nir 2024-08-28 21:52:59 +00:00
radv_debug.h radv: Use the SPIR-V printer in spirv_to_nir 2024-08-28 21:52:59 +00:00
radv_descriptor_set.c radv: use blake3 for hashing pipeline layouts 2024-07-10 07:35:19 +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: pad GFX preambles IBs with only one NOP 2024-08-21 14:55:04 +00:00
radv_device.h vk: rename DGC feature to DGC-NV 2024-09-04 12:27:21 +00:00
radv_device_generated_commands.c radv: add a helper to write a single vertex descriptor with DGC 2024-09-05 10:29:55 +00:00
radv_device_generated_commands.h radv: specialize push constant stages with DGC 2024-08-30 18:02:23 +00:00
radv_device_memory.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_device_memory.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +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: move video decode enable test into a flag 2024-08-26 22:19:09 +00:00
radv_formats.h vulkan, radv: Add new common vk_format_get_plane_width/height helpers 2024-08-29 15:57:51 +00:00
radv_image.c radv/video: add KHR_video_maintenance1 support 2024-08-16 13:38:03 +10:00
radv_image.h radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_image_view.c radv: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_image_view.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_instance.c radv: remove RADV_DEBUG=nogsfastlaunch2 2024-08-27 07:51:33 +00:00
radv_instance.h radv: Synchronize shader dumping 2024-08-19 12:29:59 +00:00
radv_llvm_helper.cpp radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_llvm_helper.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_nir_to_llvm.c ac/llvm: use new s_wait instructions and split the existing ones for gfx12 2024-05-11 22:14:05 -04: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 vk: rename DGC feature to DGC-NV 2024-09-04 12:27:21 +00:00
radv_physical_device.h radv: remove RADV_DEBUG=nogsfastlaunch2 2024-08-27 07:51:33 +00:00
radv_pipeline.c vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
radv_pipeline.h vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
radv_pipeline_cache.c radv: move radv_hash_shaders() to radv_graphics_pipeline.c 2024-07-05 13:33:24 +00:00
radv_pipeline_cache.h radv: move radv_hash_shaders() to radv_graphics_pipeline.c 2024-07-05 13:33:24 +00:00
radv_pipeline_compute.c vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
radv_pipeline_compute.h radv: fix shaders cache corruption with indirect pipeline binds 2024-07-19 06:52:21 +00:00
radv_pipeline_graphics.c radv: rename radv_vs_input_state to radv_vertex_input_state 2024-09-03 11:39:47 +00:00
radv_pipeline_graphics.h radv: rename radv_vs_input_state to radv_vertex_input_state 2024-09-03 11:39:47 +00:00
radv_pipeline_rt.c vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
radv_pipeline_rt.h radv/rt: move radv_ray_tracing_pipeline::sha1 to radv_pipeline 2024-04-22 13:54:05 +00:00
radv_printf.c radv: move radv_printf_data to radv_printf.h 2024-04-05 12:18:38 +00:00
radv_printf.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_query.c radv/meta: add a helper to create descriptor set layout 2024-07-16 06:17:07 +00:00
radv_query.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_queue.c ac,radeonsi,radv: add common GFX preambles 2024-08-27 14:14:57 +00:00
radv_queue.h radv: Remove radv_queue::device again 2024-05-12 09:58:22 +00:00
radv_radeon_winsys.h radv/winsys: pad gfx and compute IBs with only one NOP 2024-08-21 14:55:04 +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/rra: Enable RADV_RRA_TRACE_COPY_AFTER_BUILD by default 2024-06-21 17:47:53 +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: add a helper to get image VA 2024-06-06 18:21:33 +00:00
radv_sdma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_shader.c radv: Use the SPIR-V printer in spirv_to_nir 2024-08-28 21:52:59 +00:00
radv_shader.h radv: rename radv_vs_input_state to radv_vertex_input_state 2024-09-03 11:39:47 +00:00
radv_shader_args.c radv: force using indirect descriptor sets for indirect compute pipelines 2024-06-18 13:50:16 +00:00
radv_shader_args.h radv: declare a new user SGPR for the streamout state buffer on GFX12 2024-06-17 14:46:36 +00:00
radv_shader_info.c radv: add radv_shader_info::ps::uses_fbfetch_output 2024-08-23 12:20:02 +00:00
radv_shader_info.h radv: add radv_shader_info::ps::uses_fbfetch_output 2024-08-23 12:20:02 +00:00
radv_shader_object.c radv: fix shaders cache corruption with indirect pipeline binds 2024-07-19 06:52:21 +00:00
radv_shader_object.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_spm.c radv: rename radeon perfctr uconfig helpers 2024-05-15 11:34:35 +00:00
radv_spm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sqtt.c radv: Fix crash when using SQTT and NO_COMPUTE 2024-07-15 07:05:40 +00:00
radv_sqtt.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_video.c radv: turn video decode/encode on for VCN4 with latest fw 2024-08-26 22:19:09 +00:00
radv_video.h radv: move video decode enable test into a flag 2024-08-26 22:19:09 +00:00
radv_video_enc.c radv: turn video decode/encode on for VCN4 with latest fw 2024-08-26 22:19:09 +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