diff --git a/ComputeSharp.sln b/ComputeSharp.sln
index 8569aab8..bfaeac7c 100644
--- a/ComputeSharp.sln
+++ b/ComputeSharp.sln
@@ -58,7 +58,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.WinUI", "src\C
EndProject
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "ComputeSharp.SwapChain.WinUI (Package)", "samples\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI (Package)\ComputeSharp.SwapChain.WinUI (Package).wapproj", "{B7131960-D3F3-4266-ABA4-DA068538F9E4}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.SwapChain.WinUI", "samples\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI.csproj", "{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ComputeSharp.SwapChain.WinUI", "samples\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI\ComputeSharp.SwapChain.WinUI.csproj", "{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ComputeSharp.WinUI3", "samples\ComputeSharp.WinUI3\ComputeSharp.WinUI3.csproj", "{0071701E-B9C5-4098-BE5F-EF556C4553C6}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
@@ -264,16 +266,16 @@ Global
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|arm64.ActiveCfg = Debug|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|arm64.Build.0 = Debug|Any CPU
- {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x64.ActiveCfg = Debug|Any CPU
- {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x64.Build.0 = Debug|Any CPU
+ {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x64.ActiveCfg = Debug|x64
+ {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x64.Build.0 = Debug|x64
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x86.ActiveCfg = Debug|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Debug|x86.Build.0 = Debug|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|Any CPU.Build.0 = Release|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|arm64.ActiveCfg = Release|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|arm64.Build.0 = Release|Any CPU
- {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x64.ActiveCfg = Release|Any CPU
- {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x64.Build.0 = Release|Any CPU
+ {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x64.ActiveCfg = Release|x64
+ {FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x64.Build.0 = Release|x64
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x86.ActiveCfg = Release|Any CPU
{FA18BA9F-76BF-4DE0-8D24-02FC7657E6CB}.Release|x86.Build.0 = Release|Any CPU
{B7131960-D3F3-4266-ABA4-DA068538F9E4}.Debug|Any CPU.ActiveCfg = Debug|x86
@@ -310,6 +312,24 @@ Global
{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D}.Release|x64.Build.0 = Release|x64
{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D}.Release|x86.ActiveCfg = Release|x86
{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D}.Release|x86.Build.0 = Release|x86
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|Any CPU.ActiveCfg = Debug|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|Any CPU.Build.0 = Debug|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|arm64.ActiveCfg = Debug|arm64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|arm64.Build.0 = Debug|arm64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|x64.ActiveCfg = Debug|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|x64.Build.0 = Debug|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|x64.Deploy.0 = Debug|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|x86.ActiveCfg = Debug|x86
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Debug|x86.Build.0 = Debug|x86
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|Any CPU.ActiveCfg = Release|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|Any CPU.Build.0 = Release|x64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|arm64.ActiveCfg = Release|arm64
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|arm64.Build.0 = Release|arm64
+ {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
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|x86.ActiveCfg = Release|x86
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -330,6 +350,7 @@ Global
{514FF00E-BBF0-4D55-A47C-EEEB6208ADCE} = {8DCE343F-BA78-4FE1-B562-B57C603A8BAA}
{B7131960-D3F3-4266-ABA4-DA068538F9E4} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
{184A725F-0DEA-40B0-A5B4-DB4A30FCD45D} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
+ {0071701E-B9C5-4098-BE5F-EF556C4553C6} = {0ED8F632-5E17-46BE-8CC3-B14A82D4AEB1}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4664C5E3-0340-4E22-BCFD-98AAEDF5F2DC}
diff --git a/samples/ComputeSharp.WinUI3/App.xaml b/samples/ComputeSharp.WinUI3/App.xaml
new file mode 100644
index 00000000..81de12cf
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/App.xaml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/ComputeSharp.WinUI3/App.xaml.cs b/samples/ComputeSharp.WinUI3/App.xaml.cs
new file mode 100644
index 00000000..f6be30ba
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/App.xaml.cs
@@ -0,0 +1,51 @@
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Controls.Primitives;
+using Microsoft.UI.Xaml.Data;
+using Microsoft.UI.Xaml.Input;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Navigation;
+using Microsoft.UI.Xaml.Shapes;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.ApplicationModel;
+using Windows.ApplicationModel.Activation;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace ComputeSharp.WinUI3
+{
+ ///
+ /// Provides application-specific behavior to supplement the default Application class.
+ ///
+ public 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()
+ {
+ this.InitializeComponent();
+ }
+
+ ///
+ /// Invoked when the application is launched normally by the end user. Other entry points
+ /// will be used such as when the application is launched to open a specific file.
+ ///
+ /// Details about the launch request and process.
+ protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
+ {
+ m_window = new MainWindow();
+ m_window.Activate();
+ }
+
+ private Window m_window;
+ }
+}
diff --git a/samples/ComputeSharp.WinUI3/Assets/LockScreenLogo.scale-200.png b/samples/ComputeSharp.WinUI3/Assets/LockScreenLogo.scale-200.png
new file mode 100644
index 00000000..7440f0d4
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/LockScreenLogo.scale-200.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/SplashScreen.scale-200.png b/samples/ComputeSharp.WinUI3/Assets/SplashScreen.scale-200.png
new file mode 100644
index 00000000..32f486a8
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/SplashScreen.scale-200.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/Square150x150Logo.scale-200.png b/samples/ComputeSharp.WinUI3/Assets/Square150x150Logo.scale-200.png
new file mode 100644
index 00000000..53ee3777
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/Square150x150Logo.scale-200.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.scale-200.png b/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.scale-200.png
new file mode 100644
index 00000000..f713bba6
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.scale-200.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
new file mode 100644
index 00000000..dc9f5bea
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/Square44x44Logo.targetsize-24_altform-unplated.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/StoreLogo.png b/samples/ComputeSharp.WinUI3/Assets/StoreLogo.png
new file mode 100644
index 00000000..a4586f26
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/StoreLogo.png differ
diff --git a/samples/ComputeSharp.WinUI3/Assets/Wide310x150Logo.scale-200.png b/samples/ComputeSharp.WinUI3/Assets/Wide310x150Logo.scale-200.png
new file mode 100644
index 00000000..8b4a5d0d
Binary files /dev/null and b/samples/ComputeSharp.WinUI3/Assets/Wide310x150Logo.scale-200.png differ
diff --git a/samples/ComputeSharp.WinUI3/ComputeSharp.WinUI3.csproj b/samples/ComputeSharp.WinUI3/ComputeSharp.WinUI3.csproj
new file mode 100644
index 00000000..711851ed
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/ComputeSharp.WinUI3.csproj
@@ -0,0 +1,35 @@
+
+
+ WinExe
+ net6.0-windows10.0.19041.0
+ 10.0.17763.0
+ ComputeSharp.WinUI3
+ app.manifest
+ x64
+ win10-x64
+ win10-$(Platform).pubxml
+ true
+ true
+
+
+
+
+ Designer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/ComputeSharp.WinUI3/MainWindow.xaml b/samples/ComputeSharp.WinUI3/MainWindow.xaml
new file mode 100644
index 00000000..167abb6b
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/MainWindow.xaml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
diff --git a/samples/ComputeSharp.WinUI3/MainWindow.xaml.cs b/samples/ComputeSharp.WinUI3/MainWindow.xaml.cs
new file mode 100644
index 00000000..5eba807d
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/MainWindow.xaml.cs
@@ -0,0 +1,36 @@
+using Microsoft.UI.Xaml;
+using Microsoft.UI.Xaml.Controls;
+using Microsoft.UI.Xaml.Controls.Primitives;
+using Microsoft.UI.Xaml.Data;
+using Microsoft.UI.Xaml.Input;
+using Microsoft.UI.Xaml.Media;
+using Microsoft.UI.Xaml.Navigation;
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace ComputeSharp.WinUI3
+{
+ ///
+ /// An empty window that can be used on its own or navigated to within a Frame.
+ ///
+ public sealed partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ this.InitializeComponent();
+ }
+
+ private void myButton_Click(object sender, RoutedEventArgs e)
+ {
+ myButton.Content = "Clicked";
+ }
+ }
+}
diff --git a/samples/ComputeSharp.WinUI3/Package.appxmanifest b/samples/ComputeSharp.WinUI3/Package.appxmanifest
new file mode 100644
index 00000000..dedbfe66
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/Package.appxmanifest
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+ ComputeSharp.WinUI3
+ Sergio
+ Assets\StoreLogo.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/ComputeSharp.WinUI3/app.manifest b/samples/ComputeSharp.WinUI3/app.manifest
new file mode 100644
index 00000000..04eab4c8
--- /dev/null
+++ b/samples/ComputeSharp.WinUI3/app.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj b/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj
index 4541b726..bf97a7d0 100644
--- a/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj
+++ b/src/ComputeSharp.WinUI/ComputeSharp.WinUI.csproj
@@ -3,9 +3,9 @@
net6.0-windows10.0.19041.0
10.0.17763.0
ComputeSharp.WinUI
- win10-x86;win10-x64;win10-arm64
- true
- enable
+ x64
+ win10-x64
+ true
@@ -23,7 +23,7 @@
true
icon.png
https://user-images.githubusercontent.com/10199417/110238403-b8811080-7f41-11eb-8cfe-e47e7e58f05b.png
- dotnet net netcore netstandard winui winui3 projectreunion windows windowsapps csharp library graphics shader hlsl compute gpu performance parallel
+ dotnet net netcore netstandard winui winui3 wasdk windows windowsapps csharp library graphics shader hlsl compute gpu performance parallel
@@ -31,12 +31,8 @@
-
-
-
-
-
-
+
+