microsoft / microsoft/DirectXShaderCompiler
Compiler fails on quoted folder parameters finishing with '\\'
Open
@pow2clk is already working on this.
Since Jul 23, 2020.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Hi,
I just got this issue while adding shader debug info generation into our game:
dxc -T ps_6_0 /Zi -Fd "d:\debug_info_folder\" mySimplePS.hlsl
dxc failed : Required input file argument is missing. use -help to get more information.
This issue can be worked around by :
- removing the double quote (but that's not always possible),
- replacing anti slashes by slashes (but has issue for include paths with -I),
- removing trailing anti slash (may not be desired with -Fd)
Not sure if this issue is related to https://github.com/microsoft/DirectXShaderCompiler/issues/2319#issue-465526382
Cheers,
Olivier
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.