radv: Do not try to run on GFX11 with mesa 22.2.

It isn't going to work.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19577>
This commit is contained in:
Bas Nieuwenhuizen
2022-11-07 17:37:57 +01:00
committed by Marge Bot
parent b2e9eaf7e7
commit 79c1906231
2 changed files with 6 additions and 5 deletions

View File

@@ -272,9 +272,6 @@ radv-fossils:
# Navi21 (GFX10_3)
- export RADV_FORCE_FAMILY="NAVI21"
- ./install/fossilize-runner.sh
# RDNA3 (GFX11)
- export RADV_FORCE_FAMILY="GFX1100"
- ./install/fossilize-runner.sh
############### vkd3d-proton
.vkd3d-test-valve:

View File

@@ -761,6 +761,12 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
device->local_fd = fd;
device->ws->query_info(device->ws, &device->rad_info);
if (device->rad_info.gfx_level >= GFX11) {
result = vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER,
"This version of RADV does not support RDNA3 yet.");
goto fail_wsi;
}
device->use_llvm = instance->debug_flags & RADV_DEBUG_LLVM;
#ifndef LLVM_AVAILABLE
if (device->use_llvm) {
@@ -908,9 +914,7 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
fail_perfcounters:
ac_destroy_perfcounters(&device->ac_perfcounters);
disk_cache_destroy(device->disk_cache);
#ifdef ENABLE_SHADER_CACHE
fail_wsi:
#endif
device->ws->destroy(device->ws);
fail_base:
vk_physical_device_finish(&device->vk);