mesa/src/amd/vulkan
Eric Anholt eda3e4e055 nir/builder: Add a name format arg to nir_builder_init_simple_shader().
This cleans up a bunch of gross sprintfs and keeps the caller from needing
to remember to ralloc_strdup.  I added a couple of '"%s", name ? name :
""' to radv where I didn't fully trace through whether a non-null name was
being passed in.

I also took the liberty of adding a basic name to a few shaders (pan_blit,
unit tests)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7323>
2020-11-11 08:50:29 -08:00
..
layers ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
winsys radv,radv/winsys: Move RADV_MAX_IBS_PER_SUBMIT 2020-11-03 15:50:38 +00:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
Android.mk radv: Use common gfx10_format_table.h 2020-06-03 00:17:00 +00:00
Makefile.sources radv: Use common gfx10_format_table.h 2020-06-03 00:17:00 +00:00
meson.build radv: restrict exported symbols with static llvm 2020-08-19 11:19:18 +00:00
radv_android.c radv/android: Remove unused variable 2020-08-05 18:08:07 +00:00
radv_cmd_buffer.c radv: Fix variable name collision. 2020-10-30 23:44:48 +01:00
radv_constants.h radv: Remove RANGE_SIZE usage 2020-05-05 00:28:00 +00:00
radv_cs.h radv: Fix emitting SQTT userdata. 2020-09-28 15:46:08 +00:00
radv_debug.c radv: replace RADV_TRACE_FILE by RADV_DEBUG=hang 2020-10-23 07:35:00 +00:00
radv_debug.h radv: replace RADV_TRACE_FILE by RADV_DEBUG=hang 2020-10-23 07:35:00 +00:00
radv_descriptor_set.c radv: Do not access set layout during vkCmdBindDescriptorSets. 2020-10-28 03:06:20 +00:00
radv_descriptor_set.h radv: Do not access set layout during vkCmdBindDescriptorSets. 2020-10-28 03:06:20 +00:00
radv_device.c radv: implement VK_EXT_shader_image_atomic_int64 2020-11-09 18:28:59 +00:00
radv_entrypoints_gen.py Switch from cElementTree to ElementTree. 2020-06-05 23:42:54 -07:00
radv_extensions.py radv: implement VK_EXT_shader_image_atomic_int64 2020-11-09 18:28:59 +00:00
radv_formats.c radv: implement VK_EXT_shader_image_atomic_int64 2020-11-09 18:28:59 +00:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: implement VK_EXT_shader_image_atomic_int64 2020-11-09 18:28:59 +00:00
radv_llvm_helper.cpp radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_meta.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta.h radv: Simplify radv_is_hw_resolve_pipeline. 2020-09-23 09:22:03 +00:00
radv_meta_blit.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_blit2d.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_buffer.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_bufimage.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_clear.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_copy.c radv: add support for CmdCopyImageToBuffer2KHR() 2020-09-23 07:14:15 +00:00
radv_meta_decompress.c ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
radv_meta_fast_clear.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_fmask_expand.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_resolve.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_resolve_cs.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_meta_resolve_fs.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_nir_lower_ycbcr_textures.c radv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
radv_nir_to_llvm.c radv,aco: optimize computing the sample mask for per-sample shading 2020-11-02 08:05:47 +01:00
radv_pass.c radv: destroy the base object if VkCreateRenderPass*() failed 2020-07-15 13:53:21 +02:00
radv_pipeline.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_pipeline_cache.c radv: remove VkPipelineCacheCreateInfo::flags assert 2020-10-06 15:12:35 +00:00
radv_private.h radv: Fix budget calculations with large BAR. 2020-11-07 21:56:00 +01:00
radv_query.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_radeon_winsys.h radv: Add winsys functions for timeline syncobj. 2020-07-23 17:36:46 +00:00
radv_rgp.c ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
radv_shader.c nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
radv_shader.h radv: move compiler statistics to ACO 2020-10-14 15:09:34 +00:00
radv_shader_args.c radv: Fix various non-critical integer overflows 2020-09-03 20:20:24 +00:00
radv_shader_args.h radv: add a small interface for creating the trap handler shader 2020-08-24 11:08:24 +00:00
radv_shader_helper.h radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_shader_info.c radv: remove one leftover TODO in the shader info pass 2020-10-12 09:23:26 +02:00
radv_sqtt.c ac,amd/llvm,radv: Initialize structs with {0} 2020-10-14 12:15:23 +00:00
radv_util.c radv: report errors back to the application via VK_EXT_debug_report 2020-08-10 14:09:21 +02:00
radv_util.h
radv_wsi.c vulkan/wsi: add sw support. (v2) 2020-08-17 14:30:50 +10:00
radv_wsi_display.c radv: Fix asserts using assign instead of compare. 2020-10-03 01:04:28 +00:00
radv_wsi_wayland.c
radv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c amd: replace 0x028848 with the register definition 2020-10-23 20:51:22 -04:00
vk_format.h Fix VMware capitalization. 2020-10-27 15:33:40 -07:00
vk_format_layout.csv radv: Implement VK_EXT_4444_formats 2020-08-03 19:27:37 +01:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00
vulkan.sym radv: restrict exported symbols with static llvm 2020-08-19 11:19:18 +00:00