Commit Graph

7 Commits

Author SHA1 Message Date
17450ffc66 Merge pull request #4030 from João Ramos
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:10:33 -05:00
9eb7d7d283 image_query_probe: print the summary before the --json write and exit 2 when it fails
An unwritable --json returned 1 before the summary line, so a run whose results all follow the rules
looked like a mismatch and its result was never shown. Print the summary first, then report the write
failure with exit 2, as d16_format_probe and cvt_f16_omod_probe do.
2026-11-22 22:28:25 +00:00
fa33dd1616 Merge pull request #3647 from Kam471 2026-11-22 17:03:11 -05:00
d1490e359e BUILD-1046: missing inputs exit 2; image_query_probe help before oracle
Eleven tools treated a nonexistent input folder as a failed run (1). They now print one ERROR line and return 2, while real read failures keep exit 1. image_query_probe imports the hardware oracle only for a GPU run, so --help stays prompt. A table-driven subprocess test covers all eleven; existing expectations are updated.
2026-11-22 21:11:07 +00:00
77b2150755 image_query_probe: handle report write errors 2026-11-22 20:07:22 +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
74e39155f1 image_query_probe: measure image_get_resinfo and image_get_lod on RDNA2 (SHADER-388)
docs/design.md left resinfo's 2D depth word, the clamped LOD under a linear
mip filter and the u/v order of the LOD query unverified. The new probe runs
both instructions natively through tools/hw_oracle on hand-built GFX10
descriptors and compares every word with written rules. On gfx1036 all 614
results (wave32 and wave64) follow them:

- resinfo's 2D depth word is 0 (any WORD4 DEPTH); a 2D array's layer count
  is minified, max(1, layers >> (BASE_LEVEL + level)); past the last level
  width, height and depth are 0.
- get_lod's raw LOD includes LOD_BIAS; the clamped LOD is the clamp under a
  linear mip filter, the level read (half up) under point, 0 with none.
- u scales by the width, v by the height.

The translator still differs on the resinfo points; design.md says so.

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