Skip to content

Issues compiling decompiled SM3 Shaders (error X3017 on fxc.exe) #24

@OktoberfestTheEnthusiast

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions