Merge pull request #1098 from cdavis5e/linear-texture-min-os

MVKDevice: Increase minimum OS for shared-storage textures.
This commit is contained in:
Bill Hollings 2020-10-13 22:31:53 -04:00 committed by GitHub
commit 66c0f64297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1236,7 +1236,7 @@ void MVKPhysicalDevice::initMetalFeatures() {
_metalFeatures.mslVersionEnum = MTLLanguageVersion2_2;
_metalFeatures.native3DCompressedTextures = true;
_metalFeatures.renderWithoutAttachments = true;
if ( mvkOSVersionIsAtLeast(mvkMakeOSVersion(10, 15, 5)) ) {
if ( mvkOSVersionIsAtLeast(mvkMakeOSVersion(10, 15, 6)) ) {
_metalFeatures.sharedLinearTextures = true;
}
if (supportsMTLGPUFamily(Mac2)) {