You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Attempting to generate spirv byte code with debug information inside the binary crashes when the input file path contains non-latin text. Resulting in an internal compiler error to be reported. Except when specifying vulkan-with-source
Steps to Reproduce
# Crash
dxc.exe hlsl_頂点.hlsl -spirv -T vs_6_0 -Qembed_debug -Zi
# No Crash, no spirv flag set
dxc.exe hlsl_頂点.hlsl -T vs_6_0 -Qembed_debug -Zi
# Crash
dxc.exe hlsl_頂点.hlsl -spirv -T vs_6_0 -fspv-debug=file
dxc.exe hlsl_頂点.hlsl -spirv -T vs_6_0 -fspv-debug=line
dxc.exe hlsl_頂点.hlsl -spirv -T vs_6_0 -fspv-debug=source
# Interestingly, this results in *no* crash
dxc.exe hlsl_頂点.hlsl -spirv -T vs_6_0 -fspv-debug=vulkan-with-source
Source code inside the hlsl file is a simple text shader which just passes information to next stage
I do not think this is spirv specific. When I run with a debug build, I see the same assert when targeting DXIL and SPIRV. I'll ask someone at Microsoft to double check.
Thanks - unfortunately, due to our current set of priorities we're going to be unable to look into this issue. We'd happily look at any submitted PRs addressing it though.
Description
Attempting to generate spirv byte code with debug information inside the binary crashes when the input file path contains non-latin text. Resulting in an internal compiler error to be reported. Except when specifying
vulkan-with-source
Steps to Reproduce
Source code inside the hlsl file is a simple text shader which just passes information to next stage
Actual Behavior
The compiler only outputs this text on the runs which crash
Internal compiler error: access violation. Attempted to read from address 0x00000000000000A8
Environment
The text was updated successfully, but these errors were encountered: