DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

Fad option for automatic debug output

Open pow2clk opened this issue 5 years ago • 4 comments

Because the /Fd option requires a backslash on Windows to specify a directory, if this argument needs to be quoted, the closing quotation mark is escaped, which confuses the arguments provided.

The /Fad option explicitly specifies the directory to output the automatically named debug files to without the need for a trailing separator character.

The implementation reuses the significance of the DebugFile member, while adding a DebugDir member that indicates that DebugFile contains a directory name that needs to have both the platform-appropriate separator and the generated debug file name appended to it.

Fixes #2427

pow2clk avatar Jan 23 '20 09:01 pow2clk

Tagging @otanter-at-ubi to make sure he finds this new PR

pow2clk avatar Jan 23 '20 09:01 pow2clk

:white_check_mark: Build DirectXShaderCompiler 1.0.2643 completed (commit https://github.com/Microsoft/DirectXShaderCompiler/commit/0548613c78 by @pow2clk)

AppVeyorBot avatar Jan 23 '20 10:01 AppVeyorBot

Dusting this off after it came up again in triage.

pow2clk avatar Aug 17 '20 07:08 pow2clk

:white_check_mark: Build DirectXShaderCompiler 1.0.3525 completed (commit https://github.com/Microsoft/DirectXShaderCompiler/commit/82434db323 by @pow2clk)

AppVeyorBot avatar Aug 17 '20 08:08 AppVeyorBot