Commit Graph

5744 Commits

Author SHA1 Message Date
96ad53721e tools/dot_diff.py: differential fuzzer for the packed integer dot products
Covers the 12 v_dot* ops the translator lowers: the six VOP3P forms and the
six accumulating c forms (v_dot4c_i32_i8 is the gfx103x one; the others are
gfx908 syntax the translator also takes). A Python integer reference, sharing
no code with the translator, is compared bit for bit with the translation run
in spirv_mini_interp.

Three stages: a sweep of every encodable source-kind combination with and
without clamp (671 programs), an edge grid of lane extremes against
accumulators on the saturation bounds (2,944 cases), then random programs.
The reference is pinned to the 15 words measured on gfx1036 in
tests/semantic/test_alu_dot4_i8.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:24:56 +00:00
2e52b2f1d7 Docs after round 44: one row per topic, escaped literal pipes, one copy of each repeated line and list item, one i18n row per language
Also: #2490's committed conflict markers in fssm_crosscheck.md resolved to main's text, the SHADER-605 section
moved below the troubleshooting table it split, a header rule for the export-format table, two backticked
paths that name no Leonida file, and the BOM dropped from anim_move.py and its test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:24:16 -05:00
62ab35bd91 FUZZ-55: Match the v_div_fixup_f64 reference to the gfx1036 measurements on main (#2477)
TreXito's review of #4536 found 40 mismatches in 24000 programs (seeds 776401 and
776402, exp(S2) - exp(S1) >= 1024): the reference predates #2477 (48a1a98b),
whose measured RDNA2 gfx1036 rules are in the docs/design.md v_div_fixup row.
The translator is the side that is right. Checked against that row and against
the v_div_fixup_f64 lowering in tools/rdna2spirv.py on main, not only against the
proposed patch:

- NaN in S2 or S1 passes through unchanged (a signalling NaN is not quieted with
  IEEE=0); the priority NaN(S2) over NaN(S1) is unchanged.
- The underflow cutoff is exp(S2) - exp(S1) <= -1076 (was < -1074).
- There is no overflow check (was >= 1024).
- NaN(S0) gives signed infinity, still below the underflow case.

test_div_fixup_table is updated row by row (gap 1074/1075 pass S0, 1076 gives a
signed zero, no overflow rows, unquieted sNaN) and docs/shader_validation.md
records the rule.

AI-assisted (OpenBot team).

Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
2026-11-23 01:19:33 -03:00
84eec8302d Merge main into ds-append (#3976)
docs/design.md

AI-assisted.
2026-11-23 05:18:28 +01:00
e1e81f8a24 FUZZ-55: Drop div-fixup-nan-s0 from KNOWN_DIVERGENCES now that #2477 is on main
#2477 (48a1a98b) makes the translator return signed infinity for v_div_fixup_f64
with NaN(S0), as measured on RDNA2 gfx1036, which is what the reference already
modelled. The case is no longer a known divergence (as TreXito's review of #4536
observed: two tests fail on main because they expect the old divergence).

- Remove the div-fixup-nan-s0 entry, its reference skip and its dedicated --known
  program; NaN(S0) programs are compared like any other.
- Add a positive test that the reference and the translator give +-inf for qNaN,
  -qNaN and sNaN with both output signs.
- Rework the two --known tests so they no longer depend on div_fixup: the three
  remaining forms are excluded with a reason by default, run with --known, and a
  planted clamp-only translator error exits 1 and prints the shrunk program.
- docs/shader_validation.md no longer lists the div_fixup case.

Same change as 41525870 (prepared for #4586, which #2477 made redundant).

AI-assisted (OpenBot team).

Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>
2026-11-23 01:18:15 -03:00
bb75702bc6 Revert #4638: the rpf9-explorer submodule pin stays at e2939175
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:17:16 -05:00
f0aaf26cc1 Merge pull request #4662 from kapitche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:57 -05:00
af16f2220b Merge pull request #4655 from tedin7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:53 -05:00
62cc53d1e0 Merge pull request #4654 from Etr0p
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
#	docs/testing.md
2026-11-22 23:16:52 -05:00
f2f57e7935 Merge pull request #4651 from Lucy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:50 -05:00
21f3da2621 Merge pull request #4650 from kingzzim7-create
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:49 -05:00
b5ba3c7fc5 Merge pull request #4639 from shelbykb2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:43 -05:00
064d06e459 Merge pull request #4638 from lines9686-rgb
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:42 -05:00
d36edbe267 Merge pull request #4628 from kapitche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:37 -05:00
d35ac22687 Merge pull request #4623 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:34 -05:00
908a063f4a Merge pull request #4622 from Ivan
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:33 -05:00
ae8c654dc4 Merge pull request #4620 from Luiz Neves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:32 -05:00
b53838f86e Merge pull request #4614 from UlteriorMotive00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/testing.md
2026-11-22 23:16:26 -05:00
b08703f7a8 Merge pull request #4595 from tedin7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:15 -05:00
0307fed85e Merge pull request #4593 from Luiz Neves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:14 -05:00
473abf179a Merge pull request #4592 from Raghav S
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:13 -05:00
4c17a68fed Merge pull request #4574 from Bloh09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:04 -05:00
910c647f35 Merge pull request #4572 from Lucas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:16:02 -05:00
004620ec56 Merge pull request #4567 from bobcatchris
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/movies.md
2026-11-22 23:16:01 -05:00
05e391217a Merge pull request #4566 from Rafael
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:16:00 -05:00
4b276851a8 Merge pull request #4563 from chatadouille
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/bvh.md
2026-11-22 23:15:58 -05:00
fb7575981b Merge pull request #4553 from Maxime Mansiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:52 -05:00
66d9217616 Merge pull request #4552 from Maxime Mansiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/gameinput.md
2026-11-22 23:15:51 -05:00
0be0e8ca5f Merge pull request #4551 from Maxime Mansiet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:50 -05:00
0744b86447 Merge pull request #4542 from d7ommy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:15:45 -05:00
44a9d615e2 Merge pull request #4536 from iurysf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:41 -05:00
1d9f6c21d2 Merge pull request #4525 from ScarionWorkspace
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:35 -05:00
ba2e46ef41 Merge pull request #4523 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:34 -05:00
17be613754 Merge pull request #4520 from Lucy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:31 -05:00
a90289cbb4 Merge pull request #4519 from Størm
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:30 -05:00
a10e63e411 Merge pull request #4511 from UlteriorMotive00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:15:25 -05:00
8338cc4ba9 Merge pull request #4506 from Krashgamer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:22 -05:00
d7ae86d36b Merge pull request #4504 from Vonsek
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:21 -05:00
2a62d2cecb Merge pull request #4503 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:20 -05:00
8150e95d57 Merge pull request #4490 from kapitche
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/design.md
2026-11-22 23:15:12 -05:00
5426b0eacc Merge pull request #4489 from Nicolas Abosch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:15:11 -05:00
f26180a758 Merge pull request #4467 from Alpaca-exe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:59 -05:00
1db3cf691f Merge pull request #4465 from ligmaSec
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/pipeline_check.md
2026-11-22 23:14:58 -05:00
59cba88743 Merge pull request #4454 from gabsilvs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/d3d12_vulkan.md
#	runtime/README.md
2026-11-22 23:14:52 -05:00
9fd1d8ebdd Merge pull request #4452 from YaBulochka
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:50 -05:00
1955a5537e Merge pull request #4449 from sh1shu1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:49 -05:00
fb46020a0a Merge pull request #4437 from Rafael
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

# Conflicts:
#	docs/testing.md
2026-11-22 23:14:43 -05:00
54b42ee3e0 Merge pull request #4431 from tedin7
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:40 -05:00
9c8caf987d Merge pull request #4425 from bobcatchris
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:36 -05:00
b665735051 Merge pull request #4424 from AGInformatique81
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:36 -05:00