diff --git a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm index cbbbfab4e..2cd3f9b02 100644 --- a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm +++ b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm @@ -2696,7 +2696,7 @@ _properties.limits.pointSizeGranularity = 1; _properties.limits.lineWidthRange[0] = 1; _properties.limits.lineWidthRange[1] = 1; - _properties.limits.lineWidthGranularity = 1; + _properties.limits.lineWidthGranularity = 0; _properties.limits.standardSampleLocations = VK_TRUE; _properties.limits.strictLines = _properties.vendorID == kIntelVendorId || _properties.vendorID == kNVVendorId; @@ -2752,7 +2752,7 @@ _properties.limits.maxComputeWorkGroupCount[1] = kMVKUndefinedLargeUInt32; _properties.limits.maxComputeWorkGroupCount[2] = kMVKUndefinedLargeUInt32; - _properties.limits.maxDrawIndexedIndexValue = numeric_limits::max() - 1; // Support both fullDrawIndexUint32 and automatic primitive restart. + _properties.limits.maxDrawIndexedIndexValue = numeric_limits::max(); _properties.limits.maxDrawIndirectCount = kMVKUndefinedLargeUInt32;