Skip to content

Commit

Permalink
Remove unneeded #if
Browse files Browse the repository at this point in the history
Summary: This isn't needed, let's delete.

Reviewed By: francoiscoulombe

Differential Revision: D52613965

fbshipit-source-id: 8fe122087bf0074b9e426e3c542c486b51bbbb02
  • Loading branch information
Kronopath authored and facebook-github-bot committed Jan 9, 2024
1 parent 577fbbf commit 7b02cf1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/igl/metal/DeviceFeatureSet.mm
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@
case DeviceFeatureLimits::MaxTextureDimension1D2D:
case DeviceFeatureLimits::MaxCubeMapDimension:
switch (deviceFeatureDesc_.featureSet) {
#if !defined(__OSMETA__)
#if IGL_PLATFORM_IOS
case MTLFeatureSet_iOS_GPUFamily1_v1:
case MTLFeatureSet_iOS_GPUFamily1_v2:
Expand All @@ -216,16 +215,10 @@
default:
result = 16384;
return true;

#else // macos
default:
result = 16384;
return true;
#endif
#else
default:
result = 8192;
return false;
#endif
}
case DeviceFeatureLimits::MaxFragmentUniformVectors:
Expand Down

0 comments on commit 7b02cf1

Please sign in to comment.