Shaders are compiled at runtime despite having [D2DEmbeddedBytecode(...)]
#282
Labels
bug 🐛
Something isn't working
[D2DEmbeddedBytecode(...)]
#282
This is from the latest alpha off the public nuget feed, not the nightly build.
This seems to be affecting all of my shaders, at least on ARM64. I don't know if they're being compiled at runtime on x64. I ran into this crash that is due to dotnet/wpf#5462, which I can fix by just not packaging D3DCompiler_47.dll with my app (I don't need it since I'm targeting Win10+). But, with the crash gone, why are the shaders being compiled at runtime? 🤔
Here's one of the shaders:
And here's the exception I'm getting, which I had to snag by hooking
AppDomain.FirstChanceException
:The text was updated successfully, but these errors were encountered: