ComputeSharp icon indicating copy to clipboard operation
ComputeSharp copied to clipboard

`D2D1PixelShaderEffect` should call `ID2D1RenderInfo::SetInstructionCountHint()`

Open rickbrew opened this issue 3 years ago • 0 comments

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.

rickbrew avatar May 18 '22 19:05 rickbrew