radv: only expose AMD_device_coherent_memory if actually supported

This fixes an issue after a recent update to
dEQP-VK.info.device_mandatory_features.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37663>
This commit is contained in:
Samuel Pitoiset
2025-10-02 14:20:27 +02:00
committed by Marge Bot
parent e2db50c97b
commit 38892cb558
+1 -1
View File
@@ -770,7 +770,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.EXT_ycbcr_image_arrays = true,
.EXT_zero_initialize_device_memory = true,
.AMD_buffer_marker = true,
.AMD_device_coherent_memory = true,
.AMD_device_coherent_memory = pdev->info.has_l2_uncached,
.AMD_draw_indirect_count = true,
.AMD_gcn_shader = true,
.AMD_gpu_shader_half_float = pdev->info.has_packed_math_16bit,