A method accepting an interface (IThing) cannot accept a class that implements that interface (Thing), or HLSL Tools incorrectly flags it as an error. You can still compile and use the shader, but you cannot clear the error without creating a new variable explicitly of type IThing to pass to the method. Disabling HLSL tools clears the error.
A method accepting an interface (IThing) cannot accept a class that implements that interface (Thing), or HLSL Tools incorrectly flags it as an error. You can still compile and use the shader, but you cannot clear the error without creating a new variable explicitly of type IThing to pass to the method. Disabling HLSL tools clears the error.
VS 2019 HLSL Tools for Visual Studio 1.1.302