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:
committed by
Marge Bot
parent
e2db50c97b
commit
38892cb558
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user