Use swiftshader to support Vulkan for Windows 11 that runs in the VirtualBox
Purpose I want to build and run Vulkan applications on Windows 11 that runs in VirtualBox. I have tried to upgrade VirtualBox to 7.x, a version with GPU improvements, but it didn’t enable the supporting for Vulkan. So I decide to use swiftshader. Build git clone https://github.com/google/swiftshader.git --recursive cd build cmake .. -DSWIFTSHADER_ENABLE_VULKAN_DEBUGGER=0 -G "Visual Studio 17 2022" cmake --build . --config Release You can change the generate “Visual Studio 17 2022” based on your environment. I think “Visual Studio 16 2019” also can work. We need to set SWIFTSHADER_ENABLE_VULKAN_DEBUGGER...