Seems like DXC is failing to include files within the same directory. In the attached files, basic.hlsl includes "other.hlsl", which is in the same directory and my expectation is that it should find it.
ZIP of example shader is attached.
Command line:
dxc -T vs_6_0 -E vsmain -Fo shader.dxil shader.hlsl
Also tried using -I. and prepending the directory before other.hslsl as well. Doesn't seem to work either.
bad_includes.zip
cc: Lei Zhang (@antiagainst) Ehsan (@ehsannas)
Seems like DXC is failing to include files within the same directory. In the attached files,
basic.hlslincludes"other.hlsl", which is in the same directory and my expectation is that it should find it.ZIP of example shader is attached.
Command line:
Also tried using
-I.and prepending the directory beforeother.hslslas well. Doesn't seem to work either.bad_includes.zip
cc: Lei Zhang (@antiagainst) Ehsan (@ehsannas)