Sergio0694 / ComputeSharp

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.7k stars 121 forks source link

Avoid unnecessary QueryInterface for DX12 swapchain #762

Closed Sergio0694 closed 7 months ago

Sergio0694 commented 7 months ago

Description

Minor optimization and code simplification for the QI for ISwapChainPanelNative.