Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ loader that maps the game's executable and resolves its imports to shims. Nothin
- Frame rates of the D3D12 runtime (`d3d12/`): search [d3d12/docs/findings.md](d3d12/docs/findings.md) for the switch or
function before measuring it, and measure as [docs/measuring_fps.md](docs/measuring_fps.md) says (a switch by turns
inside one run). The variables are listed in [d3d12/docs/switches.md](d3d12/docs/switches.md).
- Show the test **fails without the fix**, not just that it passes with it. Run the new case on `main`, or revert
only the source the change touches and run again: a test that has never seen the old behaviour proves the test
compiles, nothing about the fix. Say which of the two you did.
- Check the instrument before trusting the number: rebuild before `ctest` after switching branches (a stale binary
is indistinguishable from a bug), compare the **change** between two branches rather than the file (a file diff
carries their different bases), and read the test's own header before describing what it proves.

## Test without the game first

Expand Down