diff --git a/.gitignore b/.gitignore
index 3afc0186..73aa5e9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,9 +3,6 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
-# App tokens
-**/ServiceTokens/
-
# User-specific files
*.suo
*.user
diff --git a/ComputeSharp.sln b/ComputeSharp.sln
index 06791225..92618d7b 100644
--- a/ComputeSharp.sln
+++ b/ComputeSharp.sln
@@ -56,12 +56,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.WinUI", "src\C
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.WinUI", "samples\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI.csproj", "{0071701E-B9C5-4098-BE5F-EF556C4553C6}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.SwapChain.Uwp", "samples\ComputeSharp.SwapChain.Uwp\ComputeSharp.SwapChain.Uwp.csproj", "{FBD388A5-7855-4408-98FF-E689F509DB5A}"
-EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.SwapChain.Shaders.Shared", "samples\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.shproj", "{0800BD51-499D-44C2-9417-FD1F7FDFE9C4}"
EndProject
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComputeSharp.SwapChain.Core.Shared", "samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.shproj", "{751BB05B-563D-4B3A-94C6-15E2D79D35EA}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Tests.DisableDynamicCompilation", "tests\ComputeSharp.Tests.DisableDynamicCompilation\ComputeSharp.Tests.DisableDynamicCompilation.csproj", "{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.Dynamic", "src\ComputeSharp.Dynamic\ComputeSharp.Dynamic.csproj", "{76C66257-FDAA-47AB-85E7-EF757EAB10C0}"
@@ -282,18 +278,6 @@ Global
{0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|x64.ActiveCfg = Release|x64
{0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|x64.Build.0 = Release|x64
{0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|x64.Deploy.0 = Release|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|ARM64.ActiveCfg = Debug|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|ARM64.Build.0 = Debug|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|ARM64.Deploy.0 = Debug|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|x64.ActiveCfg = Debug|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|x64.Build.0 = Debug|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Debug|x64.Deploy.0 = Debug|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|ARM64.ActiveCfg = Release|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|ARM64.Build.0 = Release|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|ARM64.Deploy.0 = Release|ARM64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|x64.ActiveCfg = Release|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|x64.Build.0 = Release|x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}.Release|x64.Deploy.0 = Release|x64
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Debug|ARM64.Build.0 = Debug|Any CPU
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -453,9 +437,7 @@ Global
{A5997814-D8D2-4541-87AC-C3E53CAA67C0} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{514FF00E-BBF0-4D55-A47C-EEEB6208ADCE} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{0071701E-B9C5-4098-BE5F-EF556C4553C6} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
- {FBD388A5-7855-4408-98FF-E689F509DB5A} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
{0800BD51-499D-44C2-9417-FD1F7FDFE9C4} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
- {751BB05B-563D-4B3A-94C6-15E2D79D35EA} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
{4A8FCE22-851C-442A-8BC9-3EC3FD00B637} = {F8EFBB27-4EE2-4463-A75B-7EFDFB55D0F7}
{158F984D-CD96-4062-BD02-2268946031A0} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{9DA1DA9F-F8B2-4B25-BE80-C21F773029E3} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
@@ -478,7 +460,6 @@ Global
SolutionGuid = {4664C5E3-0340-4E22-BCFD-98AAEDF5F2DC}
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
- samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{0071701e-b9c5-4098-be5f-ef556c4553c6}*SharedItemsImports = 5
samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems*{0071701e-b9c5-4098-be5f-ef556c4553c6}*SharedItemsImports = 5
samples\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems*{0071701e-b9c5-4098-be5f-ef556c4553c6}*SharedItemsImports = 5
samples\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems*{0800bd51-499d-44c2-9417-fd1f7fdfe9c4}*SharedItemsImports = 13
@@ -489,7 +470,6 @@ Global
src\TerraFX.Interop.Windows\TerraFX.Interop.Windows.projitems*{514ff00e-bbf0-4d55-a47c-eeeb6208adce}*SharedItemsImports = 13
src\ComputeSharp.SourceGeneration\ComputeSharp.SourceGeneration.projitems*{51d5a422-d3a5-4c4d-8a6d-a048940bf279}*SharedItemsImports = 13
samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems*{73c32d0f-64db-4674-84e9-8fcc41228474}*SharedItemsImports = 5
- samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{751bb05b-563d-4b3a-94c6-15e2d79d35ea}*SharedItemsImports = 13
src\ComputeSharp.NetStandard\ComputeSharp.NetStandard.projitems*{764bc0f5-0c5e-49ad-abaa-e3874c0f3286}*SharedItemsImports = 5
src\TerraFX.Interop.Windows.Dynamic\TerraFX.Interop.Windows.Dynamic.projitems*{76c66257-fdaa-47ab-85e7-ef757eab10c0}*SharedItemsImports = 5
src\ComputeSharp.SourceGeneration.Hlsl\ComputeSharp.SourceGeneration.Hlsl.projitems*{9ac496a3-bbf0-4c8f-a50d-a20bf01c5e05}*SharedItemsImports = 13
@@ -511,8 +491,5 @@ Global
src\TerraFX.Interop.Windows.Dynamic\TerraFX.Interop.Windows.Dynamic.projitems*{eb52cb67-4162-4722-874b-44ea8da5450e}*SharedItemsImports = 5
src\TerraFX.Interop.Windows\TerraFX.Interop.Windows.projitems*{eb52cb67-4162-4722-874b-44ea8da5450e}*SharedItemsImports = 5
samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems*{f8bf7666-7ccf-4fe4-b055-2eba4bcd4564}*SharedItemsImports = 13
- samples\ComputeSharp.SwapChain.Core.Shared\ComputeSharp.SwapChain.Core.Shared.projitems*{fbd388a5-7855-4408-98ff-e689f509db5a}*SharedItemsImports = 4
- samples\ComputeSharp.SwapChain.Shaders.D2D1.Shared\ComputeSharp.SwapChain.Shaders.D2D1.Shared.projitems*{fbd388a5-7855-4408-98ff-e689f509db5a}*SharedItemsImports = 4
- samples\ComputeSharp.SwapChain.Shaders.Shared\ComputeSharp.SwapChain.Shaders.Shared.projitems*{fbd388a5-7855-4408-98ff-e689f509db5a}*SharedItemsImports = 4
EndGlobalSection
EndGlobal
diff --git a/ComputeSharp.slnf b/ComputeSharp.slnf
deleted file mode 100644
index ad188f2f..00000000
--- a/ComputeSharp.slnf
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "solution": {
- "path": "ComputeSharp.sln",
- "projects": [
- "samples\\ComputeSharp.Benchmark\\ComputeSharp.Benchmark.csproj",
- "samples\\ComputeSharp.ImageProcessing\\ComputeSharp.ImageProcessing.csproj",
- "samples\\ComputeSharp.Sample\\ComputeSharp.Sample.csproj",
- "samples\\ComputeSharp.SwapChain.Cli\\ComputeSharp.SwapChain.Cli.csproj",
- "samples\\ComputeSharp.SwapChain.Shaders.Shared\\ComputeSharp.SwapChain.Shaders.Shared.shproj",
- "samples\\ComputeSharp.SwapChain\\ComputeSharp.SwapChain.csproj",
- "src\\ComputeSharp.Core.SourceGenerators\\ComputeSharp.Core.SourceGenerators.csproj",
- "src\\ComputeSharp.Core\\ComputeSharp.Core.csproj",
- "src\\ComputeSharp.D2D1.SourceGenerators\\ComputeSharp.D2D1.SourceGenerators.csproj",
- "src\\ComputeSharp.D2D1\\ComputeSharp.D2D1.csproj",
- "src\\ComputeSharp.Dynamic\\ComputeSharp.Dynamic.csproj",
- "src\\ComputeSharp.NetStandard\\ComputeSharp.NetStandard.shproj",
- "src\\ComputeSharp.Pix\\ComputeSharp.Pix.csproj",
- "src\\ComputeSharp.SourceGeneration.Hlsl\\ComputeSharp.SourceGeneration.Hlsl.shproj",
- "src\\ComputeSharp.SourceGeneration\\ComputeSharp.SourceGeneration.shproj",
- "src\\ComputeSharp.SourceGenerators\\ComputeSharp.SourceGenerators.csproj",
- "src\\ComputeSharp\\ComputeSharp.csproj",
- "src\\TerraFX.Interop.Windows.D2D1\\TerraFX.Interop.Windows.D2D1.shproj",
- "src\\TerraFX.Interop.Windows.Dynamic\\TerraFX.Interop.Windows.Dynamic.shproj",
- "src\\TerraFX.Interop.Windows\\TerraFX.Interop.Windows.shproj",
- "tests\\ComputeSharp.D2D1.Tests.AssemblyLevelAttributes\\ComputeSharp.D2D1.Tests.AssemblyLevelAttributes.csproj",
- "tests\\ComputeSharp.D2D1.Tests\\ComputeSharp.D2D1.Tests.csproj",
- "tests\\ComputeSharp.Tests.DeviceLost\\ComputeSharp.Tests.DeviceLost.csproj",
- "tests\\ComputeSharp.Tests.DisableDynamicCompilation\\ComputeSharp.Tests.DisableDynamicCompilation.csproj",
- "tests\\ComputeSharp.Tests.GlobalStatements\\ComputeSharp.Tests.GlobalStatements.csproj",
- "tests\\ComputeSharp.Tests.Internals\\ComputeSharp.Tests.Internals.csproj",
- "tests\\ComputeSharp.Tests.NativeLibrariesResolver\\ComputeSharp.Tests.NativeLibrariesResolver.csproj",
- "tests\\ComputeSharp.Tests.SourceGenerators\\ComputeSharp.Tests.SourceGenerators.csproj",
- "tests\\ComputeSharp.Tests\\ComputeSharp.Tests.csproj"
- ]
- }
-}
\ No newline at end of file
diff --git a/build/CreateBlankServiceTokens.ps1 b/build/CreateBlankServiceTokens.ps1
deleted file mode 100644
index 63cd06bc..00000000
--- a/build/CreateBlankServiceTokens.ps1
+++ /dev/null
@@ -1,40 +0,0 @@
-# Create the service tokens folder
-$SERVICE_TOKENS_FOLDER_RELATIVE_PATH = Join-Path -Path $PSScriptRoot -ChildPath "..\samples\ComputeSharp.SwapChain.Uwp\Assets\Generated"
-if(!(Test-Path -Path $SERVICE_TOKENS_FOLDER_RELATIVE_PATH)) {
- New-Item -ItemType directory -Path $SERVICE_TOKENS_FOLDER_RELATIVE_PATH
-}
-$SERVICE_TOKENS_FOLDER_PATH = Resolve-Path -Path $SERVICE_TOKENS_FOLDER_RELATIVE_PATH
-
-# Service tokens
-$SERVICE_TOKENS_NAME = "ServiceTokens.g.cs"
-$SERVICE_TOKENS_PATH = Join-Path -Path $SERVICE_TOKENS_FOLDER_PATH -ChildPath $SERVICE_TOKENS_NAME
-if (!(Test-Path -Path $SERVICE_TOKENS_PATH))
-{
- # Prepare the generated source
- $SERVICE_TOKENS_TEXT =
-@"
-//
-#pragma warning disable
-#nullable enable
-
-namespace ComputeSharp.SwapChain.Uwp;
-
-///
-/// A with some secret service tokens.
-///
-public static class ServiceTokens
-{
- ///
- /// The secret token for the AppService connection.
- ///
-#if RELEASE
- internal const string AppService = "";
-#else
- internal const string AppService = "";
-#endif
-}
-"@.Trim()
-
- # Output the source to the target file
- Add-Content $SERVICE_TOKENS_TEXT -Path $SERVICE_TOKENS_PATH -NoNewline
-}
\ No newline at end of file
diff --git a/build/Directory.Build.targets b/build/Directory.Build.targets
index 01237a21..277272c1 100644
--- a/build/Directory.Build.targets
+++ b/build/Directory.Build.targets
@@ -12,8 +12,8 @@
$(VersionPrefix)-$(VersionSuffix)
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.projitems b/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.projitems
deleted file mode 100644
index 8fd7c01f..00000000
--- a/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.projitems
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- true
- 751bb05b-563d-4b3a-94c6-15e2d79d35ea
-
-
- ComputeSharp.SwapChain.Core.Shared
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.shproj b/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.shproj
deleted file mode 100644
index 038557e4..00000000
--- a/samples/ComputeSharp.SwapChain.Core.Shared/ComputeSharp.SwapChain.Core.Shared.shproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- 751bb05b-563d-4b3a-94c6-15e2d79d35ea
- 14.0
-
-
-
-
-
-
-
diff --git a/samples/ComputeSharp.SwapChain.Uwp/App.xaml b/samples/ComputeSharp.SwapChain.Uwp/App.xaml
deleted file mode 100644
index 69db7e92..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/App.xaml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs b/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs
deleted file mode 100644
index 5dd2acb4..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/App.xaml.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-using System;
-using ComputeSharp.SwapChain.Core.Services;
-using ComputeSharp.SwapChain.Core.ViewModels;
-using ComputeSharp.SwapChain.Uwp.Services;
-using ComputeSharp.SwapChain.Uwp.Views;
-using Microsoft.Extensions.DependencyInjection;
-using Windows.ApplicationModel.Activation;
-using Windows.ApplicationModel.Core;
-using Windows.UI;
-using Windows.UI.ViewManagement;
-using Windows.UI.Xaml;
-
-#nullable enable
-
-namespace ComputeSharp.SwapChain.Uwp;
-
-///
-/// Provides application-specific behavior to supplement the default Application class.
-///
-sealed partial class App : Application
-{
- ///
- /// Initializes the singleton application object. This is the first line of authored code
- /// executed, and as such is the logical equivalent of main() or WinMain().
- ///
- public App()
- {
- InitializeComponent();
- }
-
- ///
- public static new App Current => (App)Application.Current;
-
- ///
- /// Gets the current instance.
- ///
- public IServiceProvider Services { get; } = ConfigureServices();
-
- ///
- protected override void OnLaunched(LaunchActivatedEventArgs e)
- {
- if (Window.Current.Content is not MainView)
- {
- StyleTitleBar();
- ExpandViewIntoTitleBar();
-
- Window.Current.Content = new MainView();
- }
-
- if (!e.PrelaunchActivated)
- {
- Window.Current.Activate();
- }
- }
-
- ///
- /// Configures the services for the application.
- ///
- /// The instance to use.
- private static IServiceProvider ConfigureServices()
- {
- ServiceCollection services = new();
-
- _ = services.AddAnalyticsService();
- _ = services.AddTransient(static services => new MainViewModel(services.GetRequiredService()));
-
- return services.BuildServiceProvider();
- }
-
- ///
- /// Styles the title bar buttons according to the theme in use
- ///
- private static void StyleTitleBar()
- {
- ApplicationViewTitleBar titleBar = ApplicationView.GetForCurrentView().TitleBar;
-
- // Transparent colors
- titleBar.ForegroundColor = Colors.Transparent;
- titleBar.BackgroundColor = Colors.Transparent;
- titleBar.ButtonBackgroundColor = Colors.Transparent;
- titleBar.InactiveBackgroundColor = Colors.Transparent;
- titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
-
- // Theme aware colors
- titleBar.ButtonForegroundColor = titleBar.ButtonHoverForegroundColor = titleBar.ButtonPressedForegroundColor = Colors.White;
- titleBar.ButtonHoverBackgroundColor = Color.FromArgb(0x20, 0xFF, 0xFF, 0xFF);
- titleBar.ButtonPressedBackgroundColor = Color.FromArgb(0x40, 0xFF, 0xFF, 0xFF);
- titleBar.ButtonInactiveForegroundColor = Color.FromArgb(0xC0, 0xFF, 0xFF, 0xFF);
- titleBar.InactiveForegroundColor = Color.FromArgb(0xA0, 0xA0, 0xA0, 0xA0);
- }
-
- ///
- /// Sets up the app UI to be expanded into the title bar
- ///
- private static void ExpandViewIntoTitleBar()
- {
- CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar;
-
- coreTitleBar.ExtendViewIntoTitleBar = true;
- }
-}
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Generated/ServiceTokens.g.cs b/samples/ComputeSharp.SwapChain.Uwp/Assets/Generated/ServiceTokens.g.cs
deleted file mode 100644
index ba2fc97b..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Assets/Generated/ServiceTokens.g.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-#pragma warning disable
-#nullable enable
-
-namespace ComputeSharp.SwapChain.Uwp;
-
-///
-/// A with some secret service tokens.
-///
-public static class ServiceTokens
-{
- ///
- /// The secret token for the AppService connection.
- ///
-#if RELEASE
- internal const string AppService = "";
-#else
- internal const string AppService = "";
-#endif
-}
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-100.png
deleted file mode 100644
index a15aa789..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-125.png
deleted file mode 100644
index cdd395eb..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-150.png
deleted file mode 100644
index a11860e1..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-200.png
deleted file mode 100644
index 27b8d951..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-400.png
deleted file mode 100644
index 451db4e9..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LargeTile.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/LockScreenLogo.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/LockScreenLogo.scale-200.png
deleted file mode 100644
index 735f57ad..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/LockScreenLogo.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Misc/noise_low.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Misc/noise_low.png
deleted file mode 100644
index 0784c124..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Misc/noise_low.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-100.png
deleted file mode 100644
index 4186c153..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-125.png
deleted file mode 100644
index b89a3b30..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-150.png
deleted file mode 100644
index bd2cc348..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-200.png
deleted file mode 100644
index b3791a08..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-400.png
deleted file mode 100644
index ccf5830b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SmallTile.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-100.png
deleted file mode 100644
index 06b1422b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-125.png
deleted file mode 100644
index 74b67d70..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-150.png
deleted file mode 100644
index 81754d90..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-200.png
deleted file mode 100644
index dd6c312b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-400.png
deleted file mode 100644
index b28b180c..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/SplashScreen.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-100.png
deleted file mode 100644
index 32bd822d..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-125.png
deleted file mode 100644
index f4342abc..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-150.png
deleted file mode 100644
index c1107980..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-200.png
deleted file mode 100644
index 79e9c5e4..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-400.png
deleted file mode 100644
index 73ceb76b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square150x150Logo.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png
deleted file mode 100644
index 18275c6f..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-16.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png
deleted file mode 100644
index 7561de6f..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-24.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png
deleted file mode 100644
index f50843bd..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-256.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png
deleted file mode 100644
index 3d4ee641..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-32.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png
deleted file mode 100644
index e003e7e6..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-lightunplated_targetsize-48.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-16.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-16.png
deleted file mode 100644
index 18275c6f..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-16.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-256.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-256.png
deleted file mode 100644
index f50843bd..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-256.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-32.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-32.png
deleted file mode 100644
index 3d4ee641..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-32.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-48.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-48.png
deleted file mode 100644
index e003e7e6..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.altform-unplated_targetsize-48.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-100.png
deleted file mode 100644
index e6b266e0..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-125.png
deleted file mode 100644
index ba883192..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-150.png
deleted file mode 100644
index 6a0ee022..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-200.png
deleted file mode 100644
index 3ce9873d..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-400.png
deleted file mode 100644
index 74d1bded..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-16.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-16.png
deleted file mode 100644
index 18275c6f..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-16.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24.png
deleted file mode 100644
index 7561de6f..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
deleted file mode 100644
index e3ab7e4c..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-256.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-256.png
deleted file mode 100644
index f50843bd..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-256.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-32.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-32.png
deleted file mode 100644
index b44a854c..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-32.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-48.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-48.png
deleted file mode 100644
index 1bf9d6f6..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Square44x44Logo.targetsize-48.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.backup.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.backup.png
deleted file mode 100644
index 7385b56c..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.backup.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-100.png
deleted file mode 100644
index 1ed8820e..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-125.png
deleted file mode 100644
index cf1dbb07..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-150.png
deleted file mode 100644
index fa496dca..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-200.png
deleted file mode 100644
index 829aa3b5..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-400.png
deleted file mode 100644
index 6e28acc7..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/StoreLogo.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-100.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-100.png
deleted file mode 100644
index 96ad84bc..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-100.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-125.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-125.png
deleted file mode 100644
index 6bb12caa..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-125.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-150.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-150.png
deleted file mode 100644
index 47b73b95..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-150.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-200.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-200.png
deleted file mode 100644
index 06b1422b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-200.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-400.png b/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-400.png
deleted file mode 100644
index dd6c312b..00000000
Binary files a/samples/ComputeSharp.SwapChain.Uwp/Assets/Wide310x150Logo.scale-400.png and /dev/null differ
diff --git a/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj b/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj
deleted file mode 100644
index 0606b34d..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/ComputeSharp.SwapChain.Uwp.csproj
+++ /dev/null
@@ -1,216 +0,0 @@
-
-
-
-
- Debug
- x64
- {FBD388A5-7855-4408-98FF-E689F509DB5A}
- AppContainerExe
- Properties
- ComputeSharp.SwapChain.Uwp
- ComputeSharp.SwapChain.Uwp
- en-US
- UAP
- 10.0.22621.0
- 10.0.17763.0
- 14
- 512
- {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- true
- false
- x64;ARM64
- $(NoWarn);IDE0240
-
-
- true
- bin\ARM64\Debug\
- DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
- $(NoWarn);2008
- full
- ARM64
- false
- prompt
- true
- true
-
-
- bin\ARM64\Release\
- TRACE;NETFX_CORE;WINDOWS_UWP
- true
- $(NoWarn);2008
- pdbonly
- ARM64
- false
- prompt
- true
- true
-
-
- true
- bin\x64\Debug\
- DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
- $(NoWarn);2008
- full
- x64
- false
- prompt
- true
-
-
- bin\x64\Release\
- TRACE;NETFX_CORE;WINDOWS_UWP
- true
- $(NoWarn);2008
- pdbonly
- x64
- false
- prompt
- true
- true
-
-
- $(DefineConstants);SAMPLE_APP
-
-
- PackageReference
-
-
-
- App.xaml
-
-
-
-
-
-
- MainView.xaml
-
-
-
-
- Designer
-
-
-
-
-
-
-
-
-
- PreserveNewest
-
-
- Assets\Textures\RustyMetal.png
- PreserveNewest
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MSBuild:Compile
- Designer
-
-
-
-
- 8.2.1
-
-
- 8.2.1
-
-
- 2.2.0-preview1
-
-
- 2.2.0-preview1
-
-
- 5.0.2
-
-
- 5.0.2
-
-
- 7.0.0
-
-
- 6.2.14
-
-
- 7.1.3
-
-
- 7.1.3
-
-
- 2.8.5
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
-
- 14.0
-
-
-
- powershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File $(SolutionDir)\build\CreateBlankServiceTokens.ps1
-
-
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Controls/D2D1AnimatedPixelShaderPanel.xaml b/samples/ComputeSharp.SwapChain.Uwp/Controls/D2D1AnimatedPixelShaderPanel.xaml
deleted file mode 100644
index b7c172e8..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Controls/D2D1AnimatedPixelShaderPanel.xaml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Package.appxmanifest b/samples/ComputeSharp.SwapChain.Uwp/Package.appxmanifest
deleted file mode 100644
index e741c88d..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Package.appxmanifest
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
-
-
-
-
-
- ComputeSharp Sample App
- Sergio Pedri
- Assets\StoreLogo.png
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs b/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs
deleted file mode 100644
index bf5595ef..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("ComputeSharp.SwapChain.Uwp")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("ComputeSharp.SwapChain.Uwp")]
-[assembly: AssemblyCopyright("Copyright © 2021")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
-[assembly: ComVisible(false)]
-
-[module: SkipLocalsInit]
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Properties/Default.rd.xml b/samples/ComputeSharp.SwapChain.Uwp/Properties/Default.rd.xml
deleted file mode 100644
index cbb037d2..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Properties/Default.rd.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs b/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs
deleted file mode 100644
index af5e4f99..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Services/AppCenterService.cs
+++ /dev/null
@@ -1,61 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using ComputeSharp.SwapChain.Core.Services;
-using Microsoft.AppCenter;
-using Microsoft.AppCenter.Analytics;
-using Microsoft.AppCenter.Crashes;
-
-#nullable enable
-
-namespace ComputeSharp.SwapChain.Uwp.Services;
-
-///
-/// An implementation using AppCenter.
-///
-public sealed class AppCenterService : IAnalyticsService
-{
- ///
- /// The maximum length for any property name and value
- ///
- /// It's 125, but one character is reserved for the leading '|' to indicate trimming.
- private const int PropertyStringMaxLength = 124;
-
- ///
- public AppCenterService(string secret)
- {
- AppCenter.Start(secret, typeof(Crashes), typeof(Analytics));
- }
-
- ///
- public void Log(string title, params (string Property, object? Value)[]? data)
- {
- Analytics.TrackEvent(title, GetProperties(data));
- }
-
- ///
- public void Log(Exception exception, params (string Property, object? Value)[]? data)
- {
- Crashes.TrackError(exception, GetProperties(data));
- }
-
- ///
- /// Gets the additional logging properties from the input data.
- ///
- /// The optional event properties.
- /// The additional logging properties to track.
- private static IDictionary? GetProperties((string Property, object? Value)[]? data)
- {
- return
- data?.ToDictionary(
- pair => pair.Property,
- pair =>
- {
- string text = (pair.Value ?? "").ToString();
-
- return text.Length <= PropertyStringMaxLength
- ? text
- : $"|{text.Substring(text.Length - PropertyStringMaxLength)}";
- });
- }
-}
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Services/ServiceCollectionExtensions.cs b/samples/ComputeSharp.SwapChain.Uwp/Services/ServiceCollectionExtensions.cs
deleted file mode 100644
index c1bdecc9..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Services/ServiceCollectionExtensions.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using System.Diagnostics;
-using ComputeSharp.SwapChain.Core.Services;
-using Microsoft.Extensions.DependencyInjection;
-
-namespace ComputeSharp.SwapChain.Uwp.Services;
-
-///
-/// Extensions for the type.
-///
-public static class ServiceCollectionExtensions
-{
- ///
- /// Adds the correct registration to the given instance.
- ///
- /// The input instance to use to register services.
- /// The same instance as .
- public static IServiceCollection AddAnalyticsService(this IServiceCollection services)
- {
- if (Guid.TryParse(ServiceTokens.AppService, out _) && !Debugger.IsAttached)
- {
- _ = services.AddSingleton(new AppCenterService(ServiceTokens.AppService));
- }
- else
- {
- _ = services.AddSingleton(new DebugAnalyticsService());
- }
-
- return services;
- }
-}
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml b/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml
deleted file mode 100644
index ea7f8a1d..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml
+++ /dev/null
@@ -1,286 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs b/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs
deleted file mode 100644
index 0b1cc07d..00000000
--- a/samples/ComputeSharp.SwapChain.Uwp/Views/MainView.xaml.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using System;
-using ComputeSharp.SwapChain.Core.Constants;
-using ComputeSharp.SwapChain.Core.Services;
-using ComputeSharp.SwapChain.Core.ViewModels;
-using ComputeSharp.Uwp;
-using Microsoft.Extensions.DependencyInjection;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Input;
-
-namespace ComputeSharp.SwapChain.Uwp.Views;
-
-///
-/// A view for .
-///
-public sealed partial class MainView : UserControl
-{
- public MainView()
- {
- InitializeComponent();
-
- DataContext = App.Current.Services.GetRequiredService();
- }
-
- ///
- /// Gets the instance for the current view.
- ///
- public MainViewModel ViewModel => (MainViewModel)DataContext;
-
- // Opens the shader selection panel
- private void OpenShaderSelectionPanelButton_Click(object sender, RoutedEventArgs e)
- {
- App.Current.Services.GetRequiredService().Log(Event.OpenShaderSelectionPanel);
-
- _ = this.Root.Resources.Remove(nameof(this.ShaderSelectionPanel));
-
- this.Root.Children.Add(this.ShaderSelectionPanel);
- }
-
- // Hides the shader selection panel
- private void ShaderSelectionPanel_Tapped(object sender, TappedRoutedEventArgs e)
- {
- App.Current.Services.GetRequiredService().Log(Event.CloseShaderSelectionPanel);
-
- _ = this.Root.Children.Remove(this.ShaderSelectionPanel);
- }
-
- // Updates the size of the shaders list panel
- private void UserControl_SizeChanged(object sender, SizeChangedEventArgs e)
- {
- this.ShadersListContainerPanel.Height = Math.Round(e.NewSize.Height * 0.35);
- }
-
- // Logs rendering failed in the main panel
- private void MainShaderPanel_RenderingFailed(AnimatedComputeShaderPanel sender, RenderingFailedEventArgs args)
- {
- App.Current.Services.GetRequiredService().Log(args.Exception, (nameof(Error), Error.RenderingFailedOnMainPanel));
-
- this.RenderingErrorInfoBar.IsOpen = true;
- }
-
- // Logs rendering failed in a secondary panel
- private void SelectionShaderPanel_RenderingFailed(AnimatedComputeShaderPanel sender, RenderingFailedEventArgs args)
- {
- App.Current.Services.GetRequiredService().Log(args.Exception, (nameof(Error), Error.RenderingFailedOnSelectionPanel));
-
- this.RenderingErrorInfoBar.IsOpen = true;
- }
-}
\ No newline at end of file
diff --git a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
index ceeaff23..ddd61735 100644
--- a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
+++ b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
@@ -11,7 +11,6 @@
true
true
$(DefineConstants);SAMPLE_APP
- $(NoWarn);IDE0240
@@ -63,15 +62,7 @@
-
-
-
-
- Designer
-
-
-
-
+
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs b/samples/ComputeSharp.SwapChain.WinUI/Constants/Error.cs
similarity index 100%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Constants/Error.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Constants/Error.cs
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs b/samples/ComputeSharp.SwapChain.WinUI/Constants/Event.cs
similarity index 100%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Constants/Event.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Constants/Event.cs
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Controls/D2D1AnimatedPixelShaderPanel.cs b/samples/ComputeSharp.SwapChain.WinUI/Controls/D2D1AnimatedPixelShaderPanel.cs
similarity index 97%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Controls/D2D1AnimatedPixelShaderPanel.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Controls/D2D1AnimatedPixelShaderPanel.cs
index 38351f58..c1af1335 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Controls/D2D1AnimatedPixelShaderPanel.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Controls/D2D1AnimatedPixelShaderPanel.cs
@@ -1,21 +1,10 @@
using ComputeSharp.SwapChain.Core.Shaders;
using Microsoft.Graphics.Canvas;
using Microsoft.Graphics.Canvas.UI.Xaml;
-#if WINDOWS_UWP
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-#else
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
-#endif
-#nullable enable
-
-#if WINDOWS_UWP
-namespace ComputeSharp.SwapChain.Uwp.Views;
-#else
namespace ComputeSharp.SwapChain.WinUI.Views;
-#endif
///
/// A custom that can be used to render animated backgrounds via Win2D.
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs b/samples/ComputeSharp.SwapChain.WinUI/Converters/RenderingPauseConverter.cs
similarity index 90%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Converters/RenderingPauseConverter.cs
index 0888d6e1..8420af17 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/RenderingPauseConverter.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Converters/RenderingPauseConverter.cs
@@ -1,8 +1,4 @@
-#if WINDOWS_UWP
-using Windows.UI.Xaml.Controls;
-#else
using Microsoft.UI.Xaml.Controls;
-#endif
namespace ComputeSharp.SwapChain.Core.Converters;
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs b/samples/ComputeSharp.SwapChain.WinUI/Converters/ResolutionScaleConverter.cs
similarity index 100%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Converters/ResolutionScaleConverter.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Converters/ResolutionScaleConverter.cs
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Enums/RenderingMode.cs b/samples/ComputeSharp.SwapChain.WinUI/Enums/RenderingMode.cs
similarity index 100%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Enums/RenderingMode.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Enums/RenderingMode.cs
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs b/samples/ComputeSharp.SwapChain.WinUI/Services/DebugAnalyticsService.cs
similarity index 98%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Services/DebugAnalyticsService.cs
index d022277a..4cfa34c3 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Services/DebugAnalyticsService.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Services/DebugAnalyticsService.cs
@@ -2,8 +2,6 @@ using System;
using System.Diagnostics;
using System.Text;
-#nullable enable
-
namespace ComputeSharp.SwapChain.Core.Services;
///
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs b/samples/ComputeSharp.SwapChain.WinUI/Services/IAnalyticsService.cs
similarity index 97%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Services/IAnalyticsService.cs
index 34313347..b1b63ee9 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Services/IAnalyticsService.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Services/IAnalyticsService.cs
@@ -1,7 +1,5 @@
using System;
-#nullable enable
-
namespace ComputeSharp.SwapChain.Core.Services;
///
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/PixelShaderEffect.cs b/samples/ComputeSharp.SwapChain.WinUI/Shaders/PixelShaderEffect.cs
similarity index 97%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Shaders/PixelShaderEffect.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Shaders/PixelShaderEffect.cs
index ddee56ac..62e38acb 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/PixelShaderEffect.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Shaders/PixelShaderEffect.cs
@@ -1,13 +1,7 @@
using System;
using ComputeSharp.D2D1;
using ComputeSharp.D2D1.Descriptors;
-#if WINDOWS_UWP
-using ComputeSharp.D2D1.Uwp;
-#else
using ComputeSharp.D2D1.WinUI;
-#endif
-
-#nullable enable
namespace ComputeSharp.SwapChain.Core.Shaders;
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs b/samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/ContouredLayersRunner.cs
similarity index 94%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/ContouredLayersRunner.cs
index 43e65539..261f1ce4 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/ContouredLayersRunner.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/ContouredLayersRunner.cs
@@ -1,15 +1,9 @@
using System;
using System.IO;
using ComputeSharp.SwapChain.Shaders;
-#if WINDOWS_UWP
-using ComputeSharp.Uwp;
-#else
using ComputeSharp.WinUI;
-#endif
using Windows.ApplicationModel;
-#nullable enable
-
namespace ComputeSharp.SwapChain.Core.Shaders.Runners;
///
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/D2D1ContouredLayersRunner.cs b/samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/D2D1ContouredLayersRunner.cs
similarity index 97%
rename from samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/D2D1ContouredLayersRunner.cs
rename to samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/D2D1ContouredLayersRunner.cs
index 863c2c2e..4cd7ab18 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/Shaders/Runners/D2D1ContouredLayersRunner.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Shaders/Runners/D2D1ContouredLayersRunner.cs
@@ -2,16 +2,10 @@ using System;
using System.IO;
using ComputeSharp.D2D1;
using ComputeSharp.D2D1.Interop;
-#if WINDOWS_UWP
-using ComputeSharp.D2D1.Uwp;
-#else
using ComputeSharp.D2D1.WinUI;
-#endif
using ComputeSharp.SwapChain.Shaders.D2D1;
using Windows.ApplicationModel;
-#nullable enable
-
namespace ComputeSharp.SwapChain.Core.Shaders.Runners;
///
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs b/samples/ComputeSharp.SwapChain.WinUI/ViewModels/MainViewModel.cs
similarity index 99%
rename from samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs
rename to samples/ComputeSharp.SwapChain.WinUI/ViewModels/MainViewModel.cs
index 28ae2ccb..f07d4e82 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/ViewModels/MainViewModel.cs
@@ -8,13 +8,7 @@ using ComputeSharp.SwapChain.Core.Services;
using ComputeSharp.SwapChain.Core.Shaders;
using ComputeSharp.SwapChain.Core.Shaders.Runners;
using ComputeSharp.SwapChain.Shaders;
-#if WINDOWS_UWP
-using ComputeSharp.Uwp;
-#else
using ComputeSharp.WinUI;
-#endif
-
-#nullable enable
namespace ComputeSharp.SwapChain.Core.ViewModels;
diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs b/samples/ComputeSharp.SwapChain.WinUI/ViewModels/ShaderRunnerViewModel.cs
similarity index 96%
rename from samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs
rename to samples/ComputeSharp.SwapChain.WinUI/ViewModels/ShaderRunnerViewModel.cs
index 7ff1af01..db930863 100644
--- a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/ShaderRunnerViewModel.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/ViewModels/ShaderRunnerViewModel.cs
@@ -1,10 +1,6 @@
using CommunityToolkit.Mvvm.ComponentModel;
using ComputeSharp.SwapChain.Core.Shaders;
-#if WINDOWS_UWP
-using ComputeSharp.Uwp;
-#else
using ComputeSharp.WinUI;
-#endif
namespace ComputeSharp.SwapChain.Core.ViewModels;