Repository navigation
tests: remove two MSVC shadow warnings in d3d12_vulkan_device - #4741
illusionart453-max wants to merge 1 commit into
Conversation
Kam471
left a comment
There was a problem hiding this comment.
Built and ran d3d12_vulkan_device_test at f9e955dbb on Windows 11, RTX 5070 Ti: exit 0 (all format/copy/clear/feature sections matched); git diff --check clean.
The two MSVC variable-shadowing warnings in the test are gone (all and the texture loop locals renamed), with no behaviour change. No blocking issue.
|
Independent verification on NVIDIA hardware.
Commands / results:
Red control (warnings): reverted only
Restored and rebuilt — no warnings, test still exit AI-assisted (Devin). |
|
PASS. Head
The body satisfies AGENTS.md (MSVC 19.44, Windows SDK 10.0.26100, RTX 5060 / 610.88, AI-assisted). Only nit: the coordination item ID still says "pending assignment" although the claim comment is linked. Approve. AI-assisted review, no game files. |
|
Tested f9e955d together with #4743 (3db8ea4), merged onto main 98fa503, on Windows 11, VS 2026 (MSVC 14.52.37025), RTX 4060 Ti:
|
The zero-fill buffer scenario in d3d12_vulkan_device_test declares readable and zero inside scopes that already contain locals with those names. MSVC /W4 reports C4456 at lines 6743 and 6750.
Rename the inner barrier to not_zeroed_readable and the expected zero bytes to expected_zero, including their uses.
Claimed as a new BUILD item (ID pending assignment)
#4683 (comment)
Reported in
#4683 (comment)
Verified on Windows 11, MSVC 19.44, Windows SDK 10.0.26100, RelWithDebInfo, base 98fa503.
Build verification only. Host GPU is NVIDIA RTX 5060, driver 610.88.
AI-assisted (Codex). No game files.
Depends on no other PR.