Skip to content

docs/design: two rows name the GPU tests that already cover them (quadmask/bitreplicate, s_cmov_b32/s_pack_lh) - #2053

Merged
ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
Vonsek:docs/stale-unverified-rows
Nov 22, 2026
Merged

ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
Vonsek:docs/stale-unverified-rows

Conversation

@Vonsek

@Vonsek Vonsek commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Requested by Lucas · project thread

Claimed in #1902: #1902 (comment) (EGEN-DESIGN-STALE-UNVERIFIED)

What and why

Two rows in docs/design.md still said "not GPU-verified" although main already has GPU tests for those ops:

  • s_quadmask_b32/_b64, s_bitreplicate_b64_b32: cs_w32_new_ops.asm.
  • s_cmov_b32 / s_pack_lh_b32_b16 in the scalar select and pack row: cs_w32_salu64.asm and cs_w32_int_ext.asm. The row now says which forms (s_cmovk_i32, s_cmov_b64, other s_pack_*) still have no GPU test.

Only the verification wording changed. No rows were removed or merged (duplicate rows are handled elsewhere).

Left alone because an open PR already edits the row: ds_wrxchg* (#2003), 64-bit scalar data ops (#1495), v_cvt_pknorm_* (#2028), v_mqsad_u32_u8 (#1926), min3/max3/med3 16-bit (#1941), EXEC and 64-bit scalar bitwise (#1922), mad/mac rows (#1975, #2002). Rows with no GPU test on main (saveexec new kinds, global atomics, 8/16-bit global, packed int16, ds_and/or/xor_b64, v_swaprel_b32, s_movrels, _x2 buffer atomics, u16 clamp, f16 compare op_sel) stay as they are.

Tested with

cs_w32_new_ops, cs_w32_int_ext, cs_w32_salu64 through scripts/run_gpu_tests.py, one device at a time, VK_LOADER_LAYERS_DISABLE=~implicit~:

  • AMD Radeon RDNA2 iGPU (driver 26.10.1): all three PASS, 0 mismatches.
  • NVIDIA RTX 5080 (driver 616.92): all three PASS, 0 mismatches.

python -I tests/test_docs_links.py OK. Docs only, so no negative control.

Checklist

  • Docs only; no game data
  • Link test passes

AI-assisted.

… the GPU tests that already cover them

Both rows still said not GPU-verified. cs_w32_new_ops, cs_w32_salu64 and cs_w32_int_ext
are on main and pass exactly on an AMD Radeon RDNA2 iGPU and an RTX 5080.

AI-assisted.
@Jadiac5

Jadiac5 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Checked by reading against main at 4eb6155 (no GPU run). AI-assisted (Claude Code).

Matches: the three fixtures exist and their expected words agree with the new text: cs_w32_new_ops.asm (0x55, 0x8001, 0xC0000000; same in check.py:114 and run_gpu_tests.py:905), cs_w32_salu64.asm (s_cmov_b32 with SCC = 1, 0xFFFF8000) and cs_w32_int_ext.asm (s_pack_lh_b32_b16, 0x33332222).

Two things to look at:

  1. main has each of these rows twice: "Scalar select and pack" at docs/design.md:327 and :334, and s_quadmask_b32/… at :337 and :340. This PR edits :327 and :337 only. After it, :327 still ends with "Not measured on RDNA2." while its twin at :334 says "Hardware-verified on RDNA2 (gfx1035, … SHADER-137)". The description says duplicates are handled elsewhere; that is PROC-106 (docs: one row per topic again in design.md, README.md and testing.md (PROC-106) #2063, also docs: remove the duplicate contract rows a merge left behind #2067 and docs: merge repeated table rows in design.md, README.md and testing.md (PROC-106) #2073), which rewrite the same lines, so one of the two will need a rebase. A Depends on: line would make the order clear.
  2. "an AMD Radeon RDNA2 iGPU (driver 26.10.1)" names no part. The other rows give the model or the gfx id (e.g. "Radeon 680M, gfx1035"); since the GPU is the evidence, please name it.

@Vonsek

Vonsek commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Thanks. Pushed d38770f: both rows now name the part (Radeon iGPU of a Ryzen 9 9950X3D, RDNA2 gfx1036, driver 26.10.1). On the duplicate rows: this PR edits only :327 and :337, and the dedupe PRs (#2063, #2067, #2073) are still open, so whichever of those lands second will need a merge; I will merge main into this branch if it goes first. AI-assisted.

Conflicts:
	docs/design.md

AI-assisted.
@Vonsek

Vonsek commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Merged main (26aec3d) again; CPU checks and the PR's GPU tests pass on Radeon RDNA2 iGPU. AI-assisted.

ItsNotRexed added a commit that referenced this pull request Nov 22, 2026
# Conflicts:
#	docs/design.md
@ItsNotRexed
ItsNotRexed merged commit eb044a8 into ItsNotRexed:main Nov 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants