microsoft / microsoft/DirectXShaderCompiler

Compiler fails on quoted folder parameters finishing with '\\'

Open
#2,427 8 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.