Skip to content

Commit

Permalink
[release/8.0.1xx] [MetalKit] Add support for Xcode 15. (#19314)
Browse files Browse the repository at this point in the history
Backport of #19274

---------

Co-authored-by: Manuel de la Pena Saenz <[email protected]>
Co-authored-by: GitHub Actions Autoformatter <[email protected]>
  • Loading branch information
3 people authored Oct 24, 2023
1 parent e1db920 commit 1551314
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 18 deletions.
12 changes: 12 additions & 0 deletions src/metalkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ interface MTKView : NSCoding, CALayerDelegate {
[MacCatalyst (13, 1)]
[Export ("multisampleColorAttachmentTextureUsage", ArgumentSemantic.Assign)]
MTLTextureUsage MultisampleColorAttachmentTextureUsage { get; set; }

[Mac (13, 0), iOS (16, 0), TV (16, 0), MacCatalyst (16, 0)]
[Export ("depthStencilStorageMode", ArgumentSemantic.Assign)]
MTLStorageMode DepthStencilStorageMode { get; set; }
}

[MacCatalyst (13, 1)]
Expand Down Expand Up @@ -197,6 +201,11 @@ interface MTKTextureLoaderKeys {
[MacCatalyst (13, 1)]
[Field ("MTKTextureLoaderOptionOrigin")]
NSString OriginKey { get; }

[iOS (17, 0), Mac (14, 0), TV (17, 0), MacCatalyst (17, 0)]
[Field ("MTKTextureLoaderOptionLoadAsArray")]
NSString LoadAsArrayKey { get; }

}

[MacCatalyst (13, 1)]
Expand All @@ -223,6 +232,9 @@ interface MTKTextureLoaderOptions {
bool GenerateMipmaps { get; set; }

bool Srgb { get; set; }

[iOS (17, 0), Mac (14, 0), TV (17, 0), MacCatalyst (17, 0)]
bool LoadAsArray { get; set; }
}

[MacCatalyst (13, 1)]
Expand Down
3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/api-annotations-dotnet/tvOS-MetalKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/iOS-MetalKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/macOS-MetalKit.todo

This file was deleted.

3 changes: 0 additions & 3 deletions tests/xtro-sharpie/tvOS-MetalKit.todo

This file was deleted.

6 comments on commit 1551314

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💻 [CI Build] Tests on macOS M1 - Mac Ventura (13.0) passed 💻

All tests on macOS M1 - Mac Ventura (13.0) passed.

Pipeline on Agent
Hash: [CI build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 [CI Build] Test results 🔥

Test results

❌ Tests failed on VSTS: simulator tests

19 tests crashed, 0 tests failed, 0 tests passed.

Failures

❌ bcl tests

🔥 Failed catastrophically on VSTS: simulator tests - bcl (no summary found).

Html Report (VSDrops) Download

❌ cecil tests

🔥 Failed catastrophically on VSTS: simulator tests - cecil (no summary found).

Html Report (VSDrops) Download

❌ dotnettests tests

🔥 Failed catastrophically on VSTS: simulator tests - dotnettests (no summary found).

Html Report (VSDrops) Download

❌ fsharp tests

🔥 Failed catastrophically on VSTS: simulator tests - fsharp (no summary found).

Html Report (VSDrops) Download

❌ framework tests

🔥 Failed catastrophically on VSTS: simulator tests - framework (no summary found).

Html Report (VSDrops) Download

❌ generator tests

🔥 Failed catastrophically on VSTS: simulator tests - generator (no summary found).

Html Report (VSDrops) Download

❌ interdependent_binding_projects tests

🔥 Failed catastrophically on VSTS: simulator tests - interdependent_binding_projects (no summary found).

Html Report (VSDrops) Download

❌ install_source tests

🔥 Failed catastrophically on VSTS: simulator tests - install_source (no summary found).

Html Report (VSDrops) Download

❌ introspection tests

🔥 Failed catastrophically on VSTS: simulator tests - introspection (no summary found).

Html Report (VSDrops) Download

❌ linker tests

🔥 Failed catastrophically on VSTS: simulator tests - linker (no summary found).

Html Report (VSDrops) Download

❌ mac_binding_project tests

🔥 Failed catastrophically on VSTS: simulator tests - mac_binding_project (no summary found).

Html Report (VSDrops) Download

❌ mmp tests

🔥 Failed catastrophically on VSTS: simulator tests - mmp (no summary found).

Html Report (VSDrops) Download

❌ mononative tests

🔥 Failed catastrophically on VSTS: simulator tests - mononative (no summary found).

Html Report (VSDrops) Download

❌ monotouch tests

🔥 Failed catastrophically on VSTS: simulator tests - monotouch (no summary found).

Html Report (VSDrops) Download

❌ msbuild tests

🔥 Failed catastrophically on VSTS: simulator tests - msbuild (no summary found).

Html Report (VSDrops) Download

❌ mtouch tests

🔥 Failed catastrophically on VSTS: simulator tests - mtouch (no summary found).

Html Report (VSDrops) Download

❌ xammac tests

🔥 Failed catastrophically on VSTS: simulator tests - xammac (no summary found).

Html Report (VSDrops) Download

❌ xcframework tests

🔥 Failed catastrophically on VSTS: simulator tests - xcframework (no summary found).

Html Report (VSDrops) Download

❌ xtro tests

🔥 Failed catastrophically on VSTS: simulator tests - xtro (no summary found).

Html Report (VSDrops) Download

Successes

Pipeline on Agent
Hash: 15513141807c636f17a2b2f9b00d402ff1579086 [CI build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💻 [CI Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻

All tests on macOS M1 - Mac Big Sur (11.5) passed.

Pipeline on Agent
Hash: [CI build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💻 [CI Build] Windows Integration Tests passed 💻

All Windows Integration Tests passed.

Pipeline on Agent
Hash: 15513141807c636f17a2b2f9b00d402ff1579086 [CI build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ API diff for current PR / commit

Legacy Xamarin (No breaking changes)
.NET (No breaking changes)

✅ API diff vs stable

Legacy Xamarin (No breaking changes)
.NET (No breaking changes)
Legacy Xamarin (stable) vs .NET

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 15513141807c636f17a2b2f9b00d402ff1579086 [CI build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📚 [CI Build] Artifacts 📚

Packages generated

View packages

Pipeline on Agent
Hash: [CI build]

Please sign in to comment.