Skip to content

Commit

Permalink
Merge pull request #2076 from cdavis5e/required-limits
Browse files Browse the repository at this point in the history
MVKDevice: Correct some required limits.
  • Loading branch information
billhollings authored Nov 23, 2023
2 parents 5966861 + 3836b00 commit 88c9176
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -2752,7 +2752,7 @@
_properties.limits.maxComputeWorkGroupCount[1] = kMVKUndefinedLargeUInt32;
_properties.limits.maxComputeWorkGroupCount[2] = kMVKUndefinedLargeUInt32;

_properties.limits.maxDrawIndexedIndexValue = numeric_limits<uint32_t>::max() - 1; // Support both fullDrawIndexUint32 and automatic primitive restart.
_properties.limits.maxDrawIndexedIndexValue = numeric_limits<uint32_t>::max();
_properties.limits.maxDrawIndirectCount = kMVKUndefinedLargeUInt32;


Expand Down

0 comments on commit 88c9176

Please sign in to comment.