From 098770ec51d6a7bbde09db62663987dd14358efd Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Sun, 9 Mar 2025 01:17:42 +0100 Subject: [PATCH] radv: Don't init gfx preamble without gfx support. 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 2d9de34ab20..8aa69ffeebd 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1356,7 +1356,7 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr } } - if (!(instance->debug_flags & RADV_DEBUG_NO_IBS)) + if (pdev->info.has_graphics && !(instance->debug_flags & RADV_DEBUG_NO_IBS)) radv_create_gfx_preamble(device); if (!device->vk.disable_internal_cache) {