Commit Graph

211 Commits

Author SHA1 Message Date
0925302871 Merge pull request #747 from Ayoze Torres 2026-11-21 22:08:26 -05:00
734fe50e30 CI: don't require run_tiny_game_exit_code under Wine
Under Wine the process now and then exits 0 although gta6rt prints
"game exited with code 1" and calls ExitProcess(1): 2 of 3 full runs on
current main, 0 of 160 standalone runs (Wine 9.0 and 11.0). It stays in
the summary table.
2026-11-22 03:00:17 +00:00
1511d2bff2 Merge pull request #747 from Ayoze Torres 2026-11-21 21:37:57 -05:00
40bb5e76ce Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	runtime/src/vulkan_replay.h
2026-11-22 03:20:16 +01:00
6910e1cfef Merge origin/main into d3d-47-d24-emulation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:17:17 +01:00
0e63a76da0 D24 conversion: predication, large copies, tests, spec note (review)
- A dispatch honours conditional rendering and the layer's copies do not, so a
  SetPredication that skips copies also skipped the D24 conversion while the
  copy ran. Conditional rendering is ended around the dispatch and begun
  again; a test runs an upload and readback under a skipping predicate and
  compares with the host's unpredicated run (it fails without the fix).
- A copy larger than maxStorageBufferRange (queried; 128 MiB assumed if not)
  is split into dispatches by slices, or by rows of one slice; the descriptors
  bind 256-byte-aligned windows of both buffers. depth24_convert_test splits
  the 4096x4096 copy with a 1 MiB range and a pitched one with a 1 KiB range.
- make_pipeline destroys the layouts it made when a later step fails.
- depth24_convert_test is in the CI tool list; the docs say which GPU each test
  exercises.
- R24G8_TYPELESS with a typed D24 DSV is compared with the host. SRVs of
  R24_UNORM_X8_TYPELESS and X24_TYPELESS_G8_UINT are an empty slot in the
  layer (no format mapping; stencil-plane views refused): reported by the
  test and documented as a known gap.
- depth24.h: the D3D11.3 spec's FLOAT -> UNORM wording (3.2.3.6, 3.2.2) next to
  what WARP and AMD were measured to do; "159" is 5215.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:15:13 +01:00
c86977584a CI: run the Windows runtime tests under Wine on Linux
The Windows job uploads its executables, DLLs and the CTest list; a new
wine job runs them with scripts/run_wine_tests.py on ubuntu-24.04
(Wine, Xvfb, llvmpipe). The loader tests and gta6rt --run tiny_game must
pass; the other tests are reported in the job summary.
2026-11-22 02:13:39 +00:00
a3fc24f55d Merge pull request #675 from nicolas 2026-11-21 21:08:39 -05:00
6b101b24e2 Fail pipeline checks when shader modules or pipelines fail 2026-11-21 18:46:11 -07:00
78e6c901e0 CI: preserve queued main and manual runs 2026-11-22 02:15:20 +01:00
9251d2f3d7 Merge pull request #542 from kotorvr 2026-11-21 19:53:11 -05:00
dab1015bd2 Merge pull request #451 from VictorJulianiR 2026-11-21 19:43:40 -05:00
24bfb65867 Follow up three review points on merged PRs (#326, #308, #292)
- ci.yml: cancel only superseded pull request runs; a push to main was
  cancelled by the next merge and left that commit without a CI result
  (#326 review).
- world_census.py: --jobs above 61 is rejected with an argparse error on
  Windows instead of ProcessPoolExecutor's ValueError traceback, with a
  test next to the below-1 test (#308 review).
- docs/textures.md: drop the duplicated "The BCPack counts above..."
  paragraph (#292 review).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:37:20 +00:00
f72cbd90b0 Run texture tests with pinned dependencies after the CI split 2026-11-21 21:28:04 -03:00
8f3fc8bd3b CI: build Windows Vulkan/COM targets via Vulkan-Headers and add sccache 2026-11-21 21:27:42 -03:00
3ef8f4f6df CI: scope Runtime workflow by path, run Linux ctest, enable D3D12 shim test 2026-11-21 21:27:07 -03:00
6b07adf9ba Merge pull request #447 from SombraSoft 2026-11-21 19:14:06 -05:00
df1c2efa71 Merge pull request #444 from SombraSoft 2026-11-21 19:14:05 -05:00
22b3259b5b Merge pull request #438 from SombraSoft 2026-11-21 19:14:04 -05:00
8a7f0de19b Merge pull request #434 from SombraSoft 2026-11-21 19:14:03 -05:00
f9ba6967d3 Merge pull request #432 from SombraSoft 2026-11-21 19:14:03 -05:00
bd15303dc4 Merge pull request #430 from NRXM 2026-11-21 19:14:03 -05:00
f58e7c4a04 Run the NumPy and Pillow texture tests in Ubuntu CI 2026-11-21 20:53:45 -03:00
e3c13c6df1 CI: run translator-tests against LLVM 21 to match documented requirement 2026-11-21 20:42:52 -03:00
e2ad499d45 CI: upgrade viewer-tests to Node 24 LTS and add pip/NuGet caching with global.json 2026-11-21 20:42:13 -03:00
6b5786b348 CI: keep no-game-data check always on for docs-only PRs 2026-11-21 20:41:57 -03:00
49f4958a4b CI: run the GPU tests on Mesa llvmpipe
The linux-gpu-tools job built the GPU test programs but never ran them.
It now installs llvmpipe (software Vulkan), llvm-mc and SPIRV-Tools and
runs scripts/run_gpu_tests.py twice: natively (31 pass, 29 expected
skips: 8-wide subgroups, no fragment barycentrics) and the compute tests
with LEONIDA_W64_EMULATE=1 (33 pass). The emulated mesh tests are left
out because llvmpipe's compiler aborts on them. docs/testing.md gets a
section on running the suite without a GPU.

AI-assisted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D7JEiKsTUaHQbCTdc4Eghy
2026-11-21 23:39:29 +00:00
82da63479f Merge pull request #322 from Koert Lichtendonk 2026-11-21 18:37:54 -05:00
bf3e0a2069 CI: deduplicate runtime and pytest runs, add timeouts and rpf9dump diagnostics 2026-11-21 20:37:18 -03:00
2e23b7e73b CI: lint GitHub Actions workflows with jactionlint 2026-11-21 20:32:33 -03:00
e0d68c8bb2 Docs: link the coordination issue by its title, not its number
The coordination issue (#156) will move to a successor when its thread
gets long. CONTRIBUTING.md, AGENTS.md, the PR template and the testing
guide now find it as the open issue titled "Coordinating who works on
what" (a search link, and a gh command for agents), so they stay right
without an edit each time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:11:59 +01:00
fe413a2f1c Cancel superseded runs and skip heavy CI on docs-only PRs 2026-11-21 23:59:08 +01:00
798f4f6933 Rebuild ci.yml on current main; pin setup-node.
Updated CI workflow to include tests directory in Python compilation and added viewer tests for chunk streaming.
2026-11-22 01:13:55 +03:00
3cb99297cd Update checkout action versions in runtime.yml 2026-11-22 01:01:48 +03:00
f2d0063282 Refactor CI workflow and update action versions
Updated CI workflow to use specific action versions for checkout and setup-python. Removed viewer-tests job and adjusted steps for consistency.
2026-11-22 00:58:50 +03:00
bc9e77c8ba Merge pull request #213 from Jonathan 2026-11-21 16:37:30 -05:00
949dd28aa5 Merge pull request #221 from Koert Lichtendonk 2026-11-21 16:37:30 -05:00
8a7e5dce94 Docs: claim work in #156 before opening a pull request
@ItsNotRexed asked in #156 for claims to be made there before a PR is
opened. Say so where contributors and their agents look first:
CONTRIBUTING.md, AGENTS.md and the pull request template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:33:56 +01:00
0c17741bf4 Viewer: retry failed chunk loads with bounded backoff 2026-11-21 17:29:15 -04:00
f35db03d8e CI: byte-compile tests/ too, as CONTRIBUTING.md says
CONTRIBUTING.md lists the tool check as `compileall make_game.py tools tests`, but the CI step and
AGENTS.md left out tests/. The pytest-based files are skipped by the Windows test loop, so a syntax
error in them only showed up in the Linux job.
2026-11-21 15:08:50 -06:00
711d386320 CI, tests, tools: fix file handle leak, skip without pytest, build GPU tools on Linux
- tools/awc_opus.py: wrap export_bank file read in a with-statement to
  close the handle promptly instead of relying on GC (fixes ResourceWarning
  seen in test output).

- tests/test_amd_swizzle.py: use raise unittest.SkipTest instead of
  import pytest; pytest.skip so the test works under both python -I and
  unittest discovery when numpy is absent. No pytest dependency needed.

- tests/test_d3d12_xs_surface.py: same treatment for the two conditional
  skips (Windows SDK headers, SCARAB_REF). The test still skips gracefully
  without pytest installed.

- .github/workflows/runtime.yml: add a linux-gpu-tools job that installs
  libvulkan-dev, builds all GPU test tools with cmake + ninja + g++, and
  verifies every tool binary exists. Rename the Windows job from 'build' to
  'windows' to disambiguate. This catches build regressions in GPU tool code
  that only manifest on Linux.

AI-assisted.
2026-11-21 21:10:01 +01:00
9f79505a88 CI: leave pytest-based test files to the translator-tests job
The stdlib loop in the check job ran every tests/test_*.py as a script with 'python -I', which fails for any file that
imports pytest (and for ones that import sibling helpers). It skipped tests/test_translate.py by name; skip every file
that imports pytest instead. They all run in the translator-tests job (pytest tests --ignore=tests/semantic).
2026-11-21 18:11:57 +01:00
f20ea6dde8 Merge pull request #28 from Eremia Brinzoi Razvan Andrei 2026-11-21 12:26:30 -05:00
770c496630 Record full-view color clears and replay them on Vulkan 2026-11-21 19:20:39 +02:00
056dafe073 ci: bump the actions group with 3 updates
Bumps the actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python) and [actions/setup-dotnet](https://github.com/actions/setup-dotnet).


Updates `actions/checkout` from 4 to 7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v7)

Updates `actions/setup-python` from 5 to 7
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v7)

Updates `actions/setup-dotnet` from 4 to 6
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](https://github.com/actions/setup-dotnet/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
- dependency-name: actions/setup-dotnet
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-21 16:59:35 +00:00
718b714871 CI: run the stdlib test scripts without test_translate.py (it needs pytest; the translator-tests job runs it) 2026-11-21 11:51:28 -05:00
4b251d1cb6 Merge pull request #15 from Mulkku
# Conflicts:
#	runtime/test/vk_store_test.cpp
#	runtime/test/vk_texture_test.cpp
#	runtime/test/vulkan_loader.h
#	tools/rdna2spirv.py
2026-11-21 11:47:52 -05:00
ab4fb9c6c1 CI: fix the translator-tests / semantic-tests job merge 2026-11-21 11:47:20 -05:00
af5dc7be3b Merge pull request #20 from ttd0x
# Conflicts:
#	.github/workflows/ci.yml
2026-11-21 11:47:13 -05:00
d70f44b292 Merge pull request #1 from Ewann 2026-11-21 11:46:54 -05:00