From c1a3619d2c7e980de15e20a7814b05850ae9f40a Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 22 May 2026 17:00:03 +0200 Subject: [PATCH] radv: use radv_device::ws directly for quering sync payloads Easier to spot the remaining occurrences. Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 3d807a41626..32a5910492b 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1418,7 +1418,7 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr */ device->vk.copy_sync_payloads = ((instance->vk.trace_mode & RADV_TRACE_MODE_RGP) && radv_sqtt_queue_events_enabled()) ? NULL - : pdev->ws->copy_sync_payloads; + : device->ws->copy_sync_payloads; /* VM_ALWAYS_VALID must be supported. */ assert(pdev->info.has_vm_always_valid);