tests: fix the Linux build of ResourceMaterializationTests #1277
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1277
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1277/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@popcoder565 on GitHub · 2026-10-09 03:51 UTC · original
popcoder565:fix/tests-linux-indirect-descriptor→main· +1 −1 · 1 files · 1 commits · closed without mergingdbe5353fadded an argument-less emplace() on the optional DescriptorSource::IndirectDescriptor. Clang with libstdc++ treats that nested struct as not default-constructible, because its default member initializers are not usable until DescriptorSource is complete, so the test no longer compiles and main's Linux CI build fails.Construct the descriptor at the call site, as the same file already does further down.
@coderabbitai[bot] on GitHub · 2026-10-09 03:53 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
b5241ba5-43a7-456d-9994-01932ef938b4📥 Commits
Reviewing files that changed from the base of the PR and between
7b9997baeaand7500b33556.📒 Files selected for processing (1)
tests/ResourceMaterializationTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
📝 Walkthrough
Walkthrough
The test now emplaces an explicit
DescriptorSource::IndirectDescriptorbefore assigning its source indices. The existing alias and read-policy assertions remain unchanged.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
7500bThe source-level change addresses the reported test-construction issue and preserves the existing checks. No actionable merge-blocking risk is evident, though compilation was not independently confirmed.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.Pull request closed