From 99647be837db5faccc767f392fe3260dddec7213 Mon Sep 17 00:00:00 2001 From: Kbz-8 Date: Thu, 23 Oct 2025 08:25:42 +0200 Subject: [PATCH] fixing swiftshaders physical device selection --- kvf.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kvf.h b/kvf.h index 1308495..f33c53c 100755 --- a/kvf.h +++ b/kvf.h @@ -1,7 +1,7 @@ /*** * MIT License * - * Copyright (c) 2023-2024 kbz_8 + * Copyright (c) 2023-2025 kbz_8 * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -1475,9 +1475,6 @@ int32_t __kvfScorePhysicalDevice(VkPhysicalDevice device, VkSurfaceKHR surface, if(device_props.deviceType == VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) score += 1000; - if(!device_features.geometryShader) - return -1; - score += device_props.limits.maxImageDimension2D; score += device_props.limits.maxBoundDescriptorSets;