Commit Graph

6 Commits

Author SHA1 Message Date
74295d02e3 texoff_probe: validate oracle batch/word payloads and handle run errors 2026-11-25 09:04:11 +01:00
c2547f4508 tools: handle POISON/arch errors in texoff_probe and close oracle in sampler_lod_probe 2026-11-24 09:45:32 +01:00
1f8cba3f01 docs: point texoff_probe at its --help usage line (#6639)
Squash-merged after diff review of PR #6639
2026-11-23 11:09:03 -06:00
b96055c85b tools: use open_oracle() and close() in smem_neg_probe and texoff_probe
tools/smem_neg_probe.py and tools/texoff_probe.py were the last two
hardware-oracle probes calling runner.Oracle() directly instead of
runner.open_oracle(), bypassing drm.DrmOracle on Linux. Both also
omitted oracle.close(), leaking the temporary leonida_hw_* workdir on
every --oracle hw run.

Switch both to runner.open_oracle() with try/finally: oracle.close(),
extend tests/test_texoff_probe.py, and add tests/test_smem_neg_probe.py.
2026-11-22 20:09:42 +00:00
ec8ec4c9a4 Fix what the round-40 merges broke
- docs: one row per topic again in design.md (59 topics merged sentence by sentence, keeping every
  number) and README.md (the current models/character rows); one Other languages line.
- docs/i18n: the two Spanish quickstarts had been concatenated; keep #1912's, drop #2277's row.
- make_game: the shader fingerprint covers spirv_asm.py and its tables; LF settings write.
- tools: pe_shader_containers, gamedata_maps and anim_rigs use report_paths.same_report_path (BUILD-589);
  stdout guard on five tools; LF text writes in three; user_sgpr_census tolerates an unreachable --json.
- tests: fspx stage fakes write real carve/unpack indexes (c7408a1f); typed f16 stores round toward zero
  (SHADER-358); test_ci_registration's helper is no longer collected as a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:55:07 -05:00
14f7cce13f SHADER-337: texel-offset y and z fields measured on RDNA2 (signed 6-bit, upper bits ignored)
tools/texoff_probe.py samples a linear R32_SFLOAT texture whose texel holds its index (2D 64x64 for y, 3D 64x1x64
for z) with image_sample_lz_o through tools/hw_oracle on gfx1036, wave32 and wave64. All 15 rows fit the
translator's rule. tests/test_texoff_probe.py checks that each row with a negative field tells signed from unsigned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 17:30:13 +01:00