fix: Add ASTRO BOT compatibility stubs (#481)

* Add ASTRO BOT compatibility stubs

* Fix ASTRO BOT compatibility stubs
This commit is contained in:
Kurt Himebauch
2026-07-21 11:17:40 -04:00
committed by GitHub
parent ada67a1924
commit 4c8c67a3dd
10 changed files with 322 additions and 28 deletions
@@ -3251,19 +3251,27 @@ internal static unsafe class VulkanVideoPresenter
}
}
WaitForRenderDocAttachIfRequested();
_vk = Vk.GetApi();
CreateInstance();
CreateSurface();
SelectPhysicalDevice();
CreateDevice();
CreatePipelineCache();
CreateSwapchain();
CreateCommandResources();
CreateGuestDrawResources();
_vulkanReady = true;
Console.Error.WriteLine(
$"[LOADER][INFO] Vulkan VideoOut ready: {_extent.Width}x{_extent.Height}, format={_swapchainFormat}");
try
{
WaitForRenderDocAttachIfRequested();
_vk = Vk.GetApi();
CreateInstance();
CreateSurface();
SelectPhysicalDevice();
CreateDevice();
CreatePipelineCache();
CreateSwapchain();
CreateCommandResources();
CreateGuestDrawResources();
_vulkanReady = true;
Console.Error.WriteLine(
$"[LOADER][INFO] Vulkan VideoOut ready: {_extent.Width}x{_extent.Height}, format={_swapchainFormat}");
}
catch (Exception exception)
{
_vulkanReady = false;
Console.Error.WriteLine($"[LOADER][WARN] Vulkan VideoOut disabled: {exception.Message}");
}
}
private static void WaitForRenderDocAttachIfRequested()