There's some decompiled shaders that were able to compile with fxc with no issues, however some shaders with tex2D will cause fxc.exe to throw out an error like this:
G:\Documents\ghwt-de-volatile-master\HlslDecompiler\bin\Debug\net8.0\HairShader_0_ps0.fx(47,142): error X3017: 'tex2D': cannot implicitly convert from 'const float' to 'const sampler2D'
compilation failed; no code produced
I don't know if it's something that can be fixable on their (HlslDecompiler) side, but would be nice to see if it could. Thank you as always
(Decompiled HLSL below)
HairShader_Decomp.zip
There's some decompiled shaders that were able to compile with fxc with no issues, however some shaders with tex2D will cause fxc.exe to throw out an error like this:
I don't know if it's something that can be fixable on their (HlslDecompiler) side, but would be nice to see if it could. Thank you as always
(Decompiled HLSL below)
HairShader_Decomp.zip