fixing physical device selection under swiftshaders

This commit is contained in:
2025-09-24 19:11:53 +02:00
parent 18b57e3761
commit ab9d12ae17
2 changed files with 2 additions and 3 deletions

3
third_party/kvf.h vendored
View File

@@ -1474,9 +1474,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;