ComputeSharp
                                
                                
                                
                                    ComputeSharp copied to clipboard
                            
                            
                            
                        AnimatedComputeShaderPanel Resolution Issue in WinUI 3 App
Description
In my WinUI 3 application using AnimatedComputeShaderPanel, the rendered ellipse's size unexpectedly fluctuates when performing actions like opening File Explorer or changing folders. This occurs despite properly adding an AnimatedComputeShaderPanel and configuring the shader, as demonstrated in the following video.
https://github.com/Sergio0694/ComputeSharp/assets/12293818/eb31c7d6-fc54-4277-b806-a9779169f001
Resolution
This problem can be resolved by setting the IsDynamicResolutionEnabled property to False.
Sample Code
Here is a sample code demonstrating the issue for reference.
System info
ComputeSharp.WinUI v2.0.3from Nuget- Windows 10 Pro, Version 22H2, Build 19045.4291
 - CPU: Intel(R) Core(TM) i7-9700KF CPU @ 3.60GHz 3.60 GHz
 - GPU: NVIDIA GeForce RTX 3090 Ti
 - Visual Studio 2022