A .NET library to run C# code in parallel on the GPU through DX12, D2D1, and dynamically generated HLSL compute and pixel shaders, with the goal of making GPU computing easy to use for all .NET developers! 🚀
MIT License
2.65k
stars
122
forks
source link
AnimatedComputeShaderPanel Resolution Issue in WinUI 3 App #793
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.
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 anAnimatedComputeShaderPanel
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 toFalse
.Sample Code
Here is a sample code demonstrating the issue for reference.
ShaderApp.zip
System info
ComputeSharp.WinUI v2.0.3
from Nuget