From 0cd9749b78fe971352f0d4ea39700cb5799046bf Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 26 Aug 2024 19:59:01 +0200 Subject: [PATCH] [MetalFX] Implement Xcode 16.0 beta 1-6 changes. (#21020) Note: there were no changes in beta 2, beta 3, beta 4, beta 5 or beta 6. --- src/metalfx.cs | 4 ++++ tests/cecil-tests/Documentation.KnownFailures.txt | 1 + tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo | 2 -- tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalFX.todo | 2 -- tests/xtro-sharpie/iOS-MetalFX.todo | 2 -- tests/xtro-sharpie/macOS-MetalFX.todo | 2 -- 6 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalFX.todo delete mode 100644 tests/xtro-sharpie/iOS-MetalFX.todo delete mode 100644 tests/xtro-sharpie/macOS-MetalFX.todo diff --git a/src/metalfx.cs b/src/metalfx.cs index 03cf26c5d142..72347451c101 100644 --- a/src/metalfx.cs +++ b/src/metalfx.cs @@ -288,6 +288,10 @@ interface MTLFXTemporalScalerDescriptor { [Export ("autoExposureEnabled")] bool AutoExposureEnabled { [Bind ("isAutoExposureEnabled")] get; set; } + [Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)] + [Export ("requiresSynchronousInitialization")] + bool RequiresSynchronousInitialization { get; set; } + [Export ("inputContentPropertiesEnabled")] bool InputContentPropertiesEnabled { [Bind ("isInputContentPropertiesEnabled")] get; set; } diff --git a/tests/cecil-tests/Documentation.KnownFailures.txt b/tests/cecil-tests/Documentation.KnownFailures.txt index fff43b8c7fa2..55ee913170a9 100644 --- a/tests/cecil-tests/Documentation.KnownFailures.txt +++ b/tests/cecil-tests/Documentation.KnownFailures.txt @@ -70488,6 +70488,7 @@ P:MetalFX.MTLFXTemporalScalerDescriptor.OutputTextureFormat P:MetalFX.MTLFXTemporalScalerDescriptor.OutputWidth P:MetalFX.MTLFXTemporalScalerDescriptor.ReactiveMaskTextureEnabled P:MetalFX.MTLFXTemporalScalerDescriptor.ReactiveMaskTextureFormat +P:MetalFX.MTLFXTemporalScalerDescriptor.RequiresSynchronousInitialization P:MetalKit.MTKMesh.Name P:MetalKit.MTKMesh.Submeshes P:MetalKit.MTKMesh.VertexBuffers diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo deleted file mode 100644 index 4c268da8604e..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-MetalFX.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! MTLFXTemporalScalerDescriptor::requiresSynchronousInitialization not bound -!missing-selector! MTLFXTemporalScalerDescriptor::setRequiresSynchronousInitialization: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalFX.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalFX.todo deleted file mode 100644 index 4c268da8604e..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-MetalFX.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! MTLFXTemporalScalerDescriptor::requiresSynchronousInitialization not bound -!missing-selector! MTLFXTemporalScalerDescriptor::setRequiresSynchronousInitialization: not bound diff --git a/tests/xtro-sharpie/iOS-MetalFX.todo b/tests/xtro-sharpie/iOS-MetalFX.todo deleted file mode 100644 index 4c268da8604e..000000000000 --- a/tests/xtro-sharpie/iOS-MetalFX.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! MTLFXTemporalScalerDescriptor::requiresSynchronousInitialization not bound -!missing-selector! MTLFXTemporalScalerDescriptor::setRequiresSynchronousInitialization: not bound diff --git a/tests/xtro-sharpie/macOS-MetalFX.todo b/tests/xtro-sharpie/macOS-MetalFX.todo deleted file mode 100644 index 4c268da8604e..000000000000 --- a/tests/xtro-sharpie/macOS-MetalFX.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! MTLFXTemporalScalerDescriptor::requiresSynchronousInitialization not bound -!missing-selector! MTLFXTemporalScalerDescriptor::setRequiresSynchronousInitialization: not bound