fix: re-enable Vulkan backend in integrated GPUs with enough memory (#6215)

This commit is contained in:
Akarshan Biswas 2025-08-18 17:31:01 +05:30 committed by GitHub
parent 8f2f3ca352
commit 5ad3d282af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -264,7 +264,6 @@ async function _getSupportedFeatures() {
// Vulkan support check - only discrete GPUs with 6GB+ VRAM // Vulkan support check - only discrete GPUs with 6GB+ VRAM
if ( if (
gpuInfo.vulkan_info?.api_version && gpuInfo.vulkan_info?.api_version &&
gpuInfo.vulkan_info?.device_type === 'DISCRETE_GPU' &&
gpuInfo.total_memory >= 6 * 1024 gpuInfo.total_memory >= 6 * 1024
) { ) {
// 6GB (total_memory is in MB) // 6GB (total_memory is in MB)