tests: rename local that collides with the Windows small macro #1404
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!1404
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1404/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?
@ReverendOzmund on GitHub · 2026-10-11 07:25 UTC · original
ReverendOzmund:fix/windows-small-macro→main· +2 −2 · 1 files · 1 commits · closed without mergingthe windows build is failing on main since
b7b335a:windows sdk headers have
#define small char(rpcndr.h) soconst auto smallturns intoconst auto char. renamed the local tosmall_image, 2 lines, test file onlytested: shader_recompiler_compute_tests builds and all cases pass on linux. cant build windows locally, the CI on this PR will confirm
ai
used claude to find the cause, i ran the build/tests
@coderabbitai[bot] on GitHub · 2026-10-11 07:28 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
005b2cc0-82d8-4c31-b97a-cad25010cf07📥 Commits
Reviewing files that changed from the base of the PR and between
730e1a3cf3and473afe93da.📒 Files selected for processing (1)
tests/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
Walkthrough
The R64 BC1 array round-trip test renames the local image-layout variable from
smalltosmall_image. Test behavior is unchanged.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
473afThis test-only rename does not change the tested behavior, and no actionable merge risk is evident.
Pre-merge checks |
5
✅ Passed checks (5 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.@theantipopau on GitHub · 2026-10-11 07:40 UTC · original · approved these changes
The rename is the right fix —
rpcndr.hunconditionally definessmallas a type specifier inside SDK headers, so any local namedsmallbreaks under MSVC once that header gets included. CI is green on all three platforms with the rename; no other occurrence of that identifier pattern left behind (verified against the diff). Good catch.Pull request closed