test(vk): the draw-recording stand-ins include the depth dummies #3052

Merged
HumanBean merged 1 commit from HumanBean/Longshot:fix/draw-test-stubs into main 2026-12-03 07:06:24 +00:00
Owner

Summary

Three game-free checks have not compiled on main since #3032 and #2822 are both on it: #3032 made
draw_begin_recording call make_depth_dummies(), and the stand-ins of test_draw_stream_visibility,
test_fsr_uniform_ownership and test_recording_admission do not define it. This adds the empty stand-in to each of
the three tests/*_test.cpp files. Nothing the game builds changes.

See #3032.

Testing

Tested: Linux (CachyOS, clang). On d984fd70 the three fail with use of undeclared identifier 'make_depth_dummies';
with this change the three pass. The rest of d984fd70's checks were run just before: the other failures were
test_vk_wb_cpu_words_fast (fails on main too) and two build-driver tests (and test_lifter, which runs them),
which fail only when everything runs at once: all 242 build-driver library tests pass on their own.

Still to test: None.

Measurements

Nothing to measure: test stand-ins only.

Risks

None for players; a revert is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says. (Tests only.)
  • mise run test passes (any failure that also fails on main is named). (Named in Testing.)
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • A check under tests/ that reads changed source is updated, not weakened.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Approved in review, every comment answered.
  • CI passes on the head.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ

## Summary Three game-free checks have not compiled on `main` since #3032 and #2822 are both on it: #3032 made `draw_begin_recording` call `make_depth_dummies()`, and the stand-ins of `test_draw_stream_visibility`, `test_fsr_uniform_ownership` and `test_recording_admission` do not define it. This adds the empty stand-in to each of the three `tests/*_test.cpp` files. Nothing the game builds changes. See #3032. ## Testing **Tested:** Linux (CachyOS, clang). On d984fd70 the three fail with `use of undeclared identifier 'make_depth_dummies'`; with this change the three pass. The rest of d984fd70's checks were run just before: the other failures were `test_vk_wb_cpu_words_fast` (fails on `main` too) and two `build-driver` tests (and `test_lifter`, which runs them), which fail only when everything runs at once: all 242 `build-driver` library tests pass on their own. **Still to test:** None. ## Measurements Nothing to measure: test stand-ins only. ## Risks None for players; a revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. *(Tests only.)* - [x] `mise run test` passes (any failure that also fails on `main` is named). *(Named in Testing.)* - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Approved in review, every comment answered. - [ ] CI passes on the head. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
test(vk): the draw-recording stand-ins include the depth dummies (#3032)
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 9s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 15s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m28s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 16m32s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 13m36s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 12m40s
CI / Website build and checks (pull_request) Successful in 1m16s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 45m31s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m4s
6ea960957a
#3032 made draw_begin_recording call make_depth_dummies(), which the stand-ins of
test_draw_stream_visibility, test_fsr_uniform_ownership and test_recording_admission
did not define, so the three failed to compile.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017vw8e2fJhRpDrY7pgVx6oJ
HumanBean deleted branch fix/draw-test-stubs 2026-12-03 07:06:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!3052
No description provided.