mesa/src/amd/vulkan
Bas Nieuwenhuizen 9d85e7eda9
Some checks failed
macOS-CI / macOS-CI (dri) (push) Has been cancelled
macOS-CI / macOS-CI (xlib) (push) Has been cancelled
radv: Move support check out of winsys.
To get the right error code. Mostly shouldn't be winsys dependent
anyway, outside of the idea that if we explicitly emulate a device
we should just assume th euser knows what they're doing.

Fixes: c942d957b0 ("radv: fail to initialize when the AMD GPU generation is unsupported")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12792
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33964>
(cherry picked from commit 61feea6954)
2025-03-15 09:49:05 +01:00
..
bvh radv/rt: Guard leaf encoding by leaf node count 2025-03-15 09:49:03 +01:00
layers radv: fix capturing RT pipelines that return VK_OPERATION_DEFERRED_KHR for RGP 2024-12-17 17:12:27 +00:00
meta radv: fix adding the BO for unaligned SDMA copies to the cmdbuf list 2025-02-19 14:18:30 +01:00
nir radv: Lower array derefs of vectors outside of shader linking. 2025-01-29 20:05:25 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv: Move support check out of winsys. 2025-03-15 09:49:05 +01:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv: enable virtio native context support 2025-01-16 12:24:32 +00:00
radv_acceleration_structure.c radv/rt: Flush L2 after writing internal node offset on GFX12 2025-03-15 09:49:03 +01:00
radv_aco_shader_info.h aco: Move NGG pos export scheduling determination to drivers. 2025-01-30 15:26:45 +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: report same buffer aligment for DGC preprocessed buffer 2024-12-16 14:53:56 +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: emit a dummy PS state for noop FS on GFX12 2025-03-15 09:49:05 +01:00
radv_cmd_buffer.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_constants.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_cp_dma.c radv: fix CP DMA clears/copies on GFX12 2025-01-13 08:07:58 +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: use vk_descriptor_type_is_dynamic 2024-12-19 15:12:58 +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: add a new helper to set image BO metadata 2025-01-25 02:10:03 +00:00
radv_device.h radv/meta: convert the blit2d GFX pipelines to vk_meta 2024-12-31 10:32:50 +00:00
radv_device_memory.c radv: add initial DCC support on GFX12 2025-02-19 13:16:03 +01:00
radv_device_memory.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_dgc.c radv/meta: stop using string keys also for DGC and query objects 2025-02-06 07:33:37 +00:00
radv_dgc.h radv/meta: convert DGC pipeline layout to vk_meta 2024-12-29 18:31:50 +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 error reporting for VkExternalMemoryTypeFlagBitsKHR 2025-02-06 10:15:03 +01: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 initial DCC support on GFX12 2025-02-19 13:16:03 +01:00
radv_image.h radv: add a new helper to set image BO metadata 2025-01-25 02:10:03 +00:00
radv_image_view.c radv: add initial DCC support on GFX12 2025-02-19 13:16:03 +01:00
radv_image_view.h radv: Fix sampling from image layers of video decode target 2025-01-03 01:28:07 +00:00
radv_instance.c radv: add radv_lower_terminate_to_discard and enable for Indiana Jones 2024-12-12 19:54:39 +00:00
radv_instance.h radv: add radv_lower_terminate_to_discard and enable for Indiana Jones 2024-12-12 19:54:39 +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: lower load_local_invocation_index in NIR 2025-01-02 17:36:55 +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: Move support check out of winsys. 2025-03-15 09:49:05 +01:00
radv_physical_device.h radv: fix caching on-demand meta shaders 2025-02-06 07:33:37 +00:00
radv_pipeline.c ac/nir: return progress from ac_nir_lower_ps_late 2025-01-25 12:20:25 -05: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: use stage instead of entrypoint to determine valid gfx stages 2025-01-29 14:37:41 +00:00
radv_pipeline_graphics.h radv: pass extra graphics pipeline create info using pNext 2024-12-29 17:51:03 +00:00
radv_pipeline_rt.c radv/rt: Don't allocate the traversal shader in a capture/replay range 2025-02-27 18:37:32 +01: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/meta: stop using string keys also for DGC and query objects 2025-02-06 07:33:37 +00:00
radv_query.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_queue.c radv: program COMPUTE_DISPATCH_INTERLEAVE on GFX12 2025-01-24 11:08:59 +00:00
radv_queue.h radv: rename attr_ring to ge_rings 2025-01-14 00:59:38 -08:00
radv_radeon_winsys.h ac,radv,radeonsi: add new GFX12_DCC_WRITE_COMPRESS_DISABLE tiling flag 2025-02-19 13:16:03 +01:00
radv_rmv.c radv/rmv: Use radv_rmv_log_resource_destroy more 2025-01-23 23:07:49 +00: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 programming mip level for TILED_SUB_WINDOWS on GFX12 2025-01-28 20:32:11 +00:00
radv_sdma.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_shader.c ac/nir/ngg: Pass radeon_info to mesh shader lowering. 2025-01-30 15:26:46 +00:00
radv_shader.h radv: switch to the new TCS LDS/offchip size computation 2024-12-18 11:07:59 +00:00
radv_shader_args.c radv: declare a new user SGPR for emulating queries on GFX12 2025-01-21 08:42:32 +00:00
radv_shader_args.h radv: declare a new user SGPR for emulating queries on GFX12 2025-01-21 08:42:32 +00:00
radv_shader_info.c radv, radeonsi: Disable early prim export on GFX11+. 2025-01-30 15:26:46 +00:00
radv_shader_info.h radv: Rename layer_input to reads_layer in PS info. 2025-01-02 14:07:51 +00:00
radv_shader_object.c radv: use stage instead of entrypoint to determine valid gfx stages 2025-01-29 14:37:41 +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 ac/sqtt: update programming SQTT on GFX12 2025-01-20 23:50:10 +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: don't try and send events on UVD devices. 2025-03-15 09:49:04 +01:00
radv_video.h radv/video: Move IB header from begin/end to encode_video 2025-02-18 22:46:05 +01:00
radv_video_enc.c radv/video: fix adding the query pool BO to the cmdbuf list 2025-02-21 17:04:51 +01: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