diff --git a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs index ebcd4a34..0719ea3c 100644 --- a/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs +++ b/samples/ComputeSharp.SwapChain.Core.Shared/ViewModels/MainViewModel.cs @@ -111,7 +111,8 @@ public sealed partial class MainViewModel : ObservableObject new(typeof(TwoTiledTruchet),new ShaderRunner(static time => new((float)time.TotalSeconds))), new(typeof(PyramidPattern),new ShaderRunner(static time => new((float)time.TotalSeconds))), new(typeof(TriangleGridContouring),new ShaderRunner(static time => new((float)time.TotalSeconds))), - new(typeof(ContouredLayers),new ContouredLayersRunner()) + new(typeof(ContouredLayers),new ContouredLayersRunner()), + new(typeof(TerracedHills),new ShaderRunner(static time => new((float)time.TotalSeconds))), }; private ShaderRunnerViewModel selectedComputeShader; diff --git a/samples/ComputeSharp.SwapChain/Program.cs b/samples/ComputeSharp.SwapChain/Program.cs index faf777c3..3d2330b6 100644 --- a/samples/ComputeSharp.SwapChain/Program.cs +++ b/samples/ComputeSharp.SwapChain/Program.cs @@ -29,7 +29,8 @@ class Program (nameof(ExtrudedTruchetPattern), new SwapChainApplication(static time => new((float)time.TotalSeconds))), (nameof(PyramidPattern), new SwapChainApplication(static time => new((float)time.TotalSeconds))), (nameof(TriangleGridContouring), new SwapChainApplication(static time => new((float)time.TotalSeconds))), - (nameof(ContouredLayers), new SwapChainApplication(static time => new((float)time.TotalSeconds, RustyMetal.Value))) + (nameof(ContouredLayers), new SwapChainApplication(static time => new((float)time.TotalSeconds, RustyMetal.Value))), + (nameof(TerracedHills), new SwapChainApplication(static time => new((float)time.TotalSeconds))) }; static void Main()