test: fix the Linux and Windows CI test builds #1504
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!1504
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1504/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?
@NeySlim on GitHub · 2026-10-14 06:25 UTC · original
NeySlim:fix/test-builds→main· +6 −6 · 2 files · 1 commits · merged 2026-10-15 23:43 UTCmain (
9e41d832) fails its own CI on the test targets, so every open PR is red at the moment:ResourceMaterializationTests.cpp:1072,indirect_descriptor.emplace()does not compile with the CI's clang and libstdc++ 14 (IndirectDescriptoris not seen as default constructible there). It now passesDescriptorSource::IndirectDescriptor{}like the other tests in the file.smallinShaderRecompilerComputeTests.cpphits thesmallmacro from the Windows headers (rpcndr.h). Renamed toring_slice.Test code only, no behavior change. I could only check the two objects build locally (Linux, clang), the CI run on this PR is the real check.
AI use
I used Claude Code to find the two errors in the CI logs and write the change. I reviewed the diff before opening the PR.
@coderabbitai[bot] on GitHub · 2026-10-14 06:29 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
db83cdbd-77f9-427e-9f61-3f52bb83127c📥 Commits
Reviewing files that changed from the base of the PR and between
9e41d8320aand60db7e81a9.📒 Files selected for processing: 2
tests/ResourceMaterializationTests.cpptests/ShaderRecompilerComputeTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
The tests now explicitly construct an indirect descriptor while keeping its source list unchanged. The sparse image upload test now names the small acquisition
ring_slice, copies from it before requesting the large source, and checks the sizes and distinct-buffer identity.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Other
Merge Risk: ⚪ Minimal · up to
60db7This PR changes test code to clarify descriptor construction and avoid a Windows macro collision; no production behavior changes were identified, so it is ready for normal CI confirmation.
Pre-merge checks:
4 ·
1
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 too large.)
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.