From 117db087a40f70da81296f95a29585efd43c9f5e Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Thu, 20 Jul 2023 16:48:56 +0100 Subject: [PATCH] Vk tests ignore default pipeline in headless mode Fixes crash trying to launch VK_Compute_Only --- util/test/demos/vk/vk_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/util/test/demos/vk/vk_test.cpp b/util/test/demos/vk/vk_test.cpp index 3bffc6351..1ed14b92c 100644 --- a/util/test/demos/vk/vk_test.cpp +++ b/util/test/demos/vk/vk_test.cpp @@ -751,6 +751,7 @@ bool VulkanGraphicsTest::Init() headlessCmds = new VulkanCommands(this); + if(!headless) { VkPipelineLayout layout = createPipelineLayout(vkh::PipelineLayoutCreateInfo());