Skip to content

ShaderTools: Fix inconsistency between ProcessShaderIncludesImpl/UnrollShaderIncludesImpl and DXC/FXC#798

Open
hzqst wants to merge 3 commits into
DiligentGraphics:developmentfrom
hzqst:RTXPT
Open

ShaderTools: Fix inconsistency between ProcessShaderIncludesImpl/UnrollShaderIncludesImpl and DXC/FXC#798
hzqst wants to merge 3 commits into
DiligentGraphics:developmentfrom
hzqst:RTXPT

Conversation

@hzqst

@hzqst hzqst commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Fix #797

The regression test IncludeNestedParentRelative reproduces the exact 2-level nested scenario. Without the fix, processing Config.hlsl as a bare name throws (Config.hlsl lives only in Nested/), so ProcessShaderIncludes returns false — the test would fail. With the fix it passes.

hzqst added 2 commits June 26, 2026 15:34
…ked shader package using portable / names would still fail with MemoryShaderSourceFactory" and "a system/angle include can silently become parent-relative in the scanner"
@TheMostDiligent TheMostDiligent force-pushed the development branch 3 times, most recently from 13622a5 to c7c690c Compare June 27, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant