Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnimatedComputeShaderPanel Resolution Issue in WinUI 3 App #793

Open
diluculo opened this issue May 8, 2024 · 0 comments
Open

AnimatedComputeShaderPanel Resolution Issue in WinUI 3 App #793

diluculo opened this issue May 8, 2024 · 0 comments
Labels
by design 🎯 Something that is actually the expected behavior

Comments

@diluculo
Copy link

diluculo commented May 8, 2024

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.

20240508091345.mp4

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.

ShaderApp.zip

System info

  • ComputeSharp.WinUI v2.0.3 from 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
@diluculo diluculo added bug 🐛 Something isn't working untriaged 🧰 A new issue that needs initial triage labels May 8, 2024
@Sergio0694 Sergio0694 added by design 🎯 Something that is actually the expected behavior and removed bug 🐛 Something isn't working untriaged 🧰 A new issue that needs initial triage labels Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by design 🎯 Something that is actually the expected behavior
Projects
None yet
Development

No branches or pull requests

2 participants