tests: fix the Linux build of ResourceMaterializationTests #1333
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!1333
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1333/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?
@HamsterCL on GitHub · 2026-10-09 20:53 UTC · original
HamsterCL:fix/linux-optional-emplace-test→main· +1 −1 · 1 files · 1 commits · merged 2026-10-10 01:47 UTCmain currently fails the Linux build (clang++ with GCC 14 libstdc++) at
tests/ResourceMaterializationTests.cpp:246:std::optional<DescriptorSource::IndirectDescriptor>is not seen as default-constructible there (nested struct with default member initializers, known clang issue), so the argument-lessemplace()is rejected. Use the same form already used at line ~575 of the file,emplace(DescriptorSource::IndirectDescriptor{}).One-line change, tests only. This overlaps with #1277 and #1325 (both open); feel free to close this one if either lands first.
@coderabbitai[bot] on GitHub · 2026-10-09 20:55 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
5d5c77a6-1220-4d55-9207-c0e9609f0d46📥 Commits
Reviewing files that changed from the base of the PR and between
59183dbfa8and53bd7c89e4.📒 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; 3 remain after this review.
📝 Walkthrough
Walkthrough
The test now emplaces an explicit
DescriptorSource::IndirectDescriptorvalue before assigning its source indices. Its read-policy checks are unchanged.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
53bd7No merge-blocking issue is identified in this test-only change.
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.