Mesa (staging/21.3): radv: Add bufferDeviceAddressMultiDevice support.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 27 18:01:35 UTC 2021


Module: Mesa
Branch: staging/21.3
Commit: 181d8ecb2a0d4390c2bbe860bbccf7218337cad0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=181d8ecb2a0d4390c2bbe860bbccf7218337cad0

Author: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Date:   Fri Oct 22 15:29:55 2021 +0200

radv: Add bufferDeviceAddressMultiDevice support.

We don't support multiple devices so this is a nop. However, Baldurs Gate 3 enables
this and with the new more complete checks this causes device creation to fail.

Fixes: 2e5718c9574 ("vulkan: provide common functions to check device features")
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5509
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13482>
(cherry picked from commit 1fe375e7cf8da6d0313b7954ae76120cde92db14)

---

 .pick_status.json            | 2 +-
 src/amd/vulkan/radv_device.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index 6015da2a3d0..6a97cfeeb56 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -76,7 +76,7 @@
         "description": "radv: Add bufferDeviceAddressMultiDevice support.",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "2e5718c957415b93da6be5e1ff61d09e5e9933a2"
     },
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 53628b15dbd..a220b7a2391 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -1255,7 +1255,7 @@ radv_get_physical_device_features_1_2(struct radv_physical_device *pdevice,
    f->hostQueryReset = true;
    f->timelineSemaphore = true, f->bufferDeviceAddress = true;
    f->bufferDeviceAddressCaptureReplay = true;
-   f->bufferDeviceAddressMultiDevice = false;
+   f->bufferDeviceAddressMultiDevice = true;
    f->vulkanMemoryModel = true;
    f->vulkanMemoryModelDeviceScope = true;
    f->vulkanMemoryModelAvailabilityVisibilityChains = false;



More information about the mesa-commit mailing list