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
When compiling an HLSL file to SPIR-V, in case of a compile error, the diagnostics printed point to a hlsl.hlsl file when IDxcCompiler3::Compile is called with in-memory source code. This might be fixed by using the pSourceName parameter of IDxcUtils::BuildArguments.
Fixing it the naive way will break API again (as discussed in #65 (comment)), so waiting for that to be resolved before working on this.
The text was updated successfully, but these errors were encountered:
namandixit
changed the title
Filename in diagnostics when compiling HLSL in wrong
Filename in diagnostics when compiling HLSL is wrong
Dec 8, 2024
When compiling an HLSL file to SPIR-V, in case of a compile error, the diagnostics printed point to a
hlsl.hlsl
file whenIDxcCompiler3::Compile
is called with in-memory source code. This might be fixed by using thepSourceName
parameter ofIDxcUtils::BuildArguments
.Fixing it the naive way will break API again (as discussed in #65 (comment)), so waiting for that to be resolved before working on this.
The text was updated successfully, but these errors were encountered: