We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b7ca0 commit fe8b68dCopy full SHA for fe8b68d
src/gpu/vulkan/SDL_gpu_vulkan.c
@@ -11990,7 +11990,10 @@ static bool VULKAN_INTERNAL_GetDeviceRank(
11990
}
11991
11992
if (physicalDeviceExtensions->MSFT_layered_driver && physicalDeviceLayeredDriverProperties.underlyingAPI != VK_LAYERED_DRIVER_UNDERLYING_API_NONE_MSFT) {
11993
- deviceType = VK_PHYSICAL_DEVICE_TYPE_OTHER;
+ /* Rank Dozen above CPU, but below INTEGRATED.
11994
+ * This is needed for WSL specifically.
11995
+ */
11996
+ deviceType = VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU;
11997
11998
/* Dozen hasn't been tested for conformance and it probably won't be,
11999
* but WSL may need this so let's be generous.
0 commit comments