Repository navigation
tests: d3d12_descriptor_test's B4G4R4A4 block no longer shadows R9G9B9E5's names - #765
Closed
ismailchaka1 wants to merge 1 commit into
Closed
ismailchaka1 wants to merge 1 commit into
ismailchaka1 wants to merge 1 commit into
Conversation
…9E5's names ProjectLeonida#562 (R9G9B9E5) and ProjectLeonida#694 (B4G4R4A4) both added a texture block with `packed`, `packed_desc` and `packed_placed`; on main the second sits in a nested scope and hides the first, which MSVC reports as three C4456 warnings under /W4. The B4G4R4A4 block now uses b4_texture, b4_desc and b4_placed. No behaviour change.
Contributor
|
Tested
AI-assisted (Claude Code). |
This was referenced Nov 22, 2026
2 tasks done
Contributor
|
Tested 2296ce4 on RTX 4090 (driver 621.14), Windows 11 26200, MSVC 19.44: pass (no regression against main).
The |
This was referenced Nov 22, 2026
Contributor
Author
|
Closing as superseded: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Small follow-up of my #694.
#562 (
R9G9B9E5_SHAREDEXP) and #694 (B4G4R4A4_UNORM) each added a texture block toruntime/test/d3d12_descriptor_test.cppwith variables namedpacked,packed_descandpacked_placed. Onmainthe B4G4R4A4 block sits in a nested scope and hides the outer ones, which MSVC reports under/W4as three C4456 warnings (lines 679, 681 and 685).The B4G4R4A4 block now uses
b4_texture,b4_descandb4_placed. Renames only; nothing else changes.Tested on Windows 11, MSVC 2022, NVIDIA GeForce RTX 4070 SUPER (driver 32.0.16.1088):
d3d12_descriptor_testpasses withLEONIDA_VK_VALIDATION=1and no validation errors, the B4G4R4A4 sampling check included;ctestpasses 29/29.The
checkjob may be red until #713 restores therpf9-explorerpin onmain(therpf9dumpbuild error, unrelated to this change).AI-assisted.