Merge pull request #915 from billhollings/master

Restore the correct value for maxDrawIndexedIndexValue.
This commit is contained in:
Bill Hollings 2020-06-11 17:58:35 -04:00 committed by GitHub
commit 8be219f428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1487,7 +1487,7 @@ void MVKPhysicalDevice::initProperties() {
_properties.limits.maxComputeWorkGroupCount[1] = kMVKUndefinedLargeUInt32;
_properties.limits.maxComputeWorkGroupCount[2] = kMVKUndefinedLargeUInt32;
_properties.limits.maxDrawIndexedIndexValue = kMVKUndefinedLargeUInt32;
_properties.limits.maxDrawIndexedIndexValue = numeric_limits<uint32_t>::max(); // Must be (2^32 - 1) to support fullDrawIndexUint32
_properties.limits.maxDrawIndirectCount = kMVKUndefinedLargeUInt32;
_properties.limits.maxClipDistances = kMVKUndefinedLargeUInt32;