radv: use radv_device::ws directly for quering sync payloads

Easier to spot the remaining occurrences.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41755>
This commit is contained in:
Samuel Pitoiset 2026-05-22 17:00:03 +02:00 committed by Marge Bot
parent 99400f272d
commit c1a3619d2c

View file

@ -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);