ComputeSharp
ComputeSharp copied to clipboard
`D2D1PixelShaderEffect` should call `ID2D1RenderInfo::SetInstructionCountHint()`
You've got this data in the ShaderInfo, so you can supply it to Direct2D.
Also probably be worth having D2D1ReflectionServices.GetShaderInfo<TShader>() cache the ShaderInfo object.