Skip to content

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

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

ShaderTools: Fix inconsistency between ProcessShaderIncludesImpl/UnrollShaderIncludesImpl and DXC/FXC#798
hzqst wants to merge 7 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.

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