We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 997808a commit e803cbbCopy full SHA for e803cbb
src/gpu/vulkan/SDL_gpu_vulkan.c
@@ -11917,7 +11917,10 @@ static bool VULKAN_INTERNAL_GetDeviceRank(
11917
}
11918
11919
if (physicalDeviceExtensions->MSFT_layered_driver && physicalDeviceLayeredDriverProperties.underlyingAPI != VK_LAYERED_DRIVER_UNDERLYING_API_NONE_MSFT) {
11920
- deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER;
+ /* Rank Dozen above CPU, but below INTEGRATED.
11921
+ * This is needed for WSL specifically.
11922
+ */
11923
+ deviceType = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU;
11924
11925
/* Dozen hasn't been tested for conformance and it probably won't be,
11926
* but WSL may need this so let's be generous.
0 commit comments