Commit Graph

3 Commits

Author SHA1 Message Date
c7e1ec63af tools/ps_helper_probe: validate --json upfront and write atomically (PS-HELPER-PROBE-ATOMIC-JSON) 2026-11-26 00:52:05 +07:00
a759e1ebc6 tools: guard ps_helper_probe.py empty coverage and atomic --json writes 2026-11-25 20:14:04 +08:00
58bc80c331 tools: ps_helper_probe.py measures helper lanes at a triangle edge on RDNA2 (SHADER-681)
docs/design.md's whole-quad-mode row left helper-invocation behaviour at
triangle edges untested. The probe draws a triangle whose edge cuts 2x2
quads and runs seven wave64 raw-ISA pixel shaders through ps_oracle;
covered lanes read their helper neighbours through DPP quad_perm.

On gfx1036 (RADV, Mesa 26.3.1) all 10 checks hold: entry EXEC is the
covered pixels, s_wqm turns on exactly the quads with a covered pixel
(packed from lane 0), lane % 4 = (x & 1) + 2 (y & 1), helpers
interpolate their own pixel centre, their v0/v1 hold their own I/J
before s_wqm, and an exp vm with helpers on writes no pixel outside the
triangle. The design.md row now says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:13:40 +03:00