diff options
| author | Thatters <69167449+Thatters@users.noreply.github.com> | 2026-11-22 09:43:24 -0500 |
|---|---|---|
| committer | Thatters <69167449+Thatters@users.noreply.github.com> | 2026-11-22 09:43:24 -0500 |
| commit | fb343370156a8e76f574da0a109a57f25f6697a0 (patch) | |
| tree | d838bcc6fd62c9d1531ac45a2f82cdbf8d572b4e /runtime/shims/process.cpp | |
| parent | 003e78129303643a3fdc9e5f0e31a01b09759236 (diff) | |
d3d12_translated_draw_test: rename the global extent (C4459 against vulkan_replay.h)
The test's global `constexpr UINT extent = 64` is hidden by a local `extent` in runtime/src/vulkan_replay.h,
so every MSVC build of the runtime prints `warning C4459: declaration of 'extent' hides global declaration`.
It came in with #907, whose earlier fix renamed the global `size` to `extent` for the same reason. The
global is now `target_extent`, a name nothing under runtime/ uses; the test is otherwise unchanged.
Tested on Windows 11 Pro 25H2, MSVC 14.51 + Ninja (scripts/build_runtime.ps1), RTX 5070 Ti / 621.24: the
build has no C4459 (main's 49x C4456 in vulkan_replay.h remain; #1743 handles them). d3d12_translated_draw_test
passes with validation off and on: three draws, 4064/4096 exact, 32 edge pixels, 0 VUIDs. Full ctest with
validation: 106/107; the one failure is d3d12_draw's bundle-blend check, which fails on main too (#1793).
No game files. AI-assisted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/process.cpp')
0 files changed, 0 insertions, 0 deletions