radv: do not use IB for the GFX preamble with RADV_DEBUG=noibs

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23670>
This commit is contained in:
Samuel Pitoiset
2023-06-15 10:46:16 +02:00
committed by Marge Bot
parent 7e56f0389b
commit e20a0f32f2
+2 -1
View File
@@ -1000,7 +1000,8 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
goto fail;
}
if (device->physical_device->rad_info.gfx_level >= GFX7)
if (device->physical_device->rad_info.gfx_level >= GFX7 &&
!(device->instance->debug_flags & RADV_DEBUG_NO_IBS))
cik_create_gfx_config(device);
struct vk_pipeline_cache_create_info info = {0};