mesa/src/amd/vulkan
Samuel Pitoiset d067413a72 radv: optimize emitting inlined push constants with DGC
With DGC, push constants can be set from the cmdbuf (CmdPushConstants())
or from the indirect layout. Instead of always emitting inlined push
constants from the DGC shader, just update the ones that come from the
indirect layout and rely on cmdbuf updates for the other ones.

With that, it should be possible to preprocess push constants with
graphics when all can be inlined in shaders.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25935>
2023-11-13 08:28:53 +00:00
..
bvh radv/bvh/ploc: Load child bounds from LDS 2023-09-30 11:49:14 +00:00
layers vk,lvp,tu,radv,anv: Add common vk_*_pipeline_create_flags() helper 2023-11-06 14:33:51 +00:00
meta radv: fix vkCmdCopyImage2 for emulated etc2/astc 2023-11-01 20:02:14 +00:00
nir radv/nir: Handle boolean hit attribs 2023-11-02 15:48:36 +00:00
radix_sort amd: fix typos 2023-04-13 23:08:22 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv/amdgpu: add support quering the last GPUVM fault 2023-10-25 15:29:22 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
meson.build radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
radv_acceleration_structure.c radv: Do not sync after radv_update_buffer_cp 2023-09-30 11:49:14 +00:00
radv_aco_shader_info.h aco,radv,radeonsi: pass spi ps input ena and addr 2023-10-10 02:36:34 +00:00
radv_android.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_buffer.c radv: add support for VkBufferUsageFlags2CreateInfoKHR 2023-08-10 03:05:02 +00:00
radv_check_va.py radv: add a Python script to check if a VA was ever valid 2020-12-30 08:40:21 +01:00
radv_cmd_buffer.c radv: add a helper to determine if it's possible to preprocess DGC 2023-11-13 08:28:53 +00:00
radv_constants.h radv: Add RADV_MAX_HIT_ATTRIB_DWORDS 2023-11-02 15:48:36 +00:00
radv_cp_reg_shadowing.c radv: correctly return oom from the device when failing to create a cs 2023-10-27 15:29:32 +00:00
radv_cs.h radv: Support SDMA in radv_cp_wait_mem. 2023-10-24 23:12:45 +00:00
radv_debug.c radv: add initial VK_EXT_device_fault support 2023-11-06 10:35:05 +00:00
radv_debug.h radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_descriptor_set.c radv: fix buffers in vkGetDescriptorEXT with size not aligned to 4 2023-10-27 10:52:55 +00:00
radv_descriptor_set.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_device.c radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_device_generated_commands.c radv: optimize emitting inlined push constants with DGC 2023-11-13 08:28:53 +00:00
radv_device_memory.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_event.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_formats.c radv: implement VK_EXT_image_compression_control 2023-10-26 13:04:08 +00:00
radv_image.c radv: implement VK_EXT_image_compression_control 2023-10-26 13:04:08 +00:00
radv_instance.c radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_llvm_helper.cpp radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
radv_llvm_helper.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_nir_to_llvm.c radv: Rename radv_nir_compiler_options::robust_buffer_access to robust_buffer_access_llvm 2023-07-04 21:04:21 +01:00
radv_perfcounter.c radv: Add queue family argument to some functions. 2023-10-19 14:35:00 +00:00
radv_physical_device.c radv: advertise VK_EXT_device_fault 2023-11-06 10:35:05 +00:00
radv_pipeline.c radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_pipeline_cache.c radv: Use sizeof(flags) instead of hardcoded size in radv_hash_shaders. 2023-11-11 05:26:27 +00:00
radv_pipeline_compute.c vk,lvp,tu,radv,anv: Add common vk_*_pipeline_create_flags() helper 2023-11-06 14:33:51 +00:00
radv_pipeline_graphics.c vk/graphics_state, tu: Rewrite renderpass flags handling 2023-11-06 14:33:51 +00:00
radv_pipeline_rt.c vk,lvp,tu,radv,anv: Add common vk_*_pipeline_create_flags() helper 2023-11-06 14:33:51 +00:00
radv_private.h radv: add a helper to determine if it's possible to preprocess DGC 2023-11-13 08:28:53 +00:00
radv_query.c radv: fix compute shader invocations query on compute queue on GFX6 2023-11-01 12:46:17 +00:00
radv_queue.c radv: correctly return oom from the device when failing to create a cs 2023-10-27 15:29:32 +00:00
radv_radeon_winsys.h radv/amdgpu: add support quering the last GPUVM fault 2023-10-25 15:29:22 +00:00
radv_rmv.c radv/rmv: Recognize LPDDR memory 2023-10-23 18:08:02 +00:00
radv_rra.c radv/rra: Recognize LPDDR memory 2023-10-23 18:08:02 +00:00
radv_rt_common.c radv/rt: Reject hits within 10ULP of previous hits in emulated RT 2023-10-16 23:10:20 +00:00
radv_rt_common.h radv/ray_queries: Skip cull_mask handling if it is FF 2023-09-20 13:00:03 +00:00
radv_rt_shader.c vk,lvp,tu,radv,anv: Add common vk_*_pipeline_create_flags() helper 2023-11-06 14:33:51 +00:00
radv_sampler.c radv: use vk_sampler 2023-08-08 10:24:54 +00:00
radv_sdma.c radv: Implement workaround for unaligned buffer/image copies. 2023-11-01 13:21:01 +00:00
radv_shader.c radv: use NIR_LOOP_PASS helpers 2023-11-01 14:16:37 +00:00
radv_shader.h radv: disable gs_fast_launch=2 by default 2023-11-07 19:54:47 +00:00
radv_shader_args.c radv: implement mesh shader gs_fast_launch=2 2023-10-24 21:36:06 +00:00
radv_shader_args.h radv: add a new shader argument for non-monolithic shaders PC 2023-08-25 07:22:03 +00:00
radv_shader_info.c radv: implement mesh shader multi-row export 2023-10-24 21:36:07 +00:00
radv_spm.c radv: add SPM support for GFX11 2023-09-25 09:05:58 +02:00
radv_sqtt.c radv: Add queue family argument to some functions. 2023-10-19 14:35:00 +00:00
radv_video.c radv: initialize video decoder for GFX11.5 2023-10-24 08:20:47 +02:00
radv_wsi.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
si_cmd_buffer.c radv: emit COMPUTE_PIPELINESTAT_ENABLE for CS invocations on ACE 2023-11-01 12:46:17 +00:00
vk_format.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00