mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
radv: get NIR options after initializing the physical device cache key
Otherwise, radv_split_fma isn't considered.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13878
Fixes: 7304423b5c ("radv: mark RADV_DEBUG=splitfma as deprecated")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37293>
This commit is contained in:
parent
e11be7549d
commit
a658be8a24
1 changed files with 2 additions and 2 deletions
|
|
@ -2384,8 +2384,6 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
|||
radv_physical_device_get_supported_extensions(pdev, &pdev->vk.supported_extensions);
|
||||
radv_physical_device_get_features(pdev, &pdev->vk.supported_features);
|
||||
|
||||
radv_get_nir_options(pdev);
|
||||
|
||||
#ifndef _WIN32
|
||||
if (drm_device) {
|
||||
struct stat primary_stat = {0}, render_stat = {0};
|
||||
|
|
@ -2413,6 +2411,8 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
|
|||
|
||||
radv_physical_device_init_cache_key(pdev);
|
||||
|
||||
radv_get_nir_options(pdev);
|
||||
|
||||
if (radv_device_get_cache_uuid(pdev, pdev->cache_uuid)) {
|
||||
result = vk_errorf(instance, VK_ERROR_INITIALIZATION_FAILED, "cannot generate UUID");
|
||||
goto fail_wsi;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue