docs(shader): drop the stale lavapipe skip from the 16-bit interpolation entry #8406

Merged
thuanquang merged 1 commit from upstream-pr/8406 into main 2026-10-24 09:19:47 +00:00
thuanquang commented 2026-10-20 12:27:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by thuanquang on 2026-10-20T12:27:43Z.


What

The v_interp_p1ll_f16, v_interp_p1lv_f16 and v_interp_p2_f16 entry in docs/dev/debt/shader.md says "Lavapipe has no barycentrics, so the draw test is skipped in CI". Since 5697cea47 ("test(agc): draw 16-bit interpolation through the emulated barycentrics") the draw test skips only on a device with neither fragmentShaderBarycentric nor geometryShader (InterpolationF16.cpp:301-303 on main): lavapipe has geometry shaders, so it draws through the barycentric emulation's generated geometry stage, which the same entry already describes. The clause is removed; the rest of the entry is unchanged.

Tested

Docs only; nothing was built or run. Checked on main by reading InterpolationF16.cpp:300-303 and git log of that file. (main 9d6adeb550; rebased onto it because the entry after this one changed again, InterpolationF16.cpp:301-302 unchanged) Rebased onto main e78acf4bda for the conflict with #8339 (merged) in docs/dev/debt/shader.md: main's text is kept and this PR's change is unchanged; the statements were rechecked on that commit.

  • python tools/check_conventions.py --base origin/main with this title and body: 0 errors and one debt-length warning, because the entry was already over 1000 characters (2167 before, 2102 after this change).
  • Not tested: behaviour on any machine; this changes text only.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (Claude Code)

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4935707144 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8406). Originally posted by [thuanquang](https://github.com/thuanquang) on 2026-10-20T12:27:43Z. --- ### What The `v_interp_p1ll_f16, v_interp_p1lv_f16 and v_interp_p2_f16` entry in `docs/dev/debt/shader.md` says "Lavapipe has no barycentrics, so the draw test is skipped in CI". Since 5697cea47 ("test(agc): draw 16-bit interpolation through the emulated barycentrics") the draw test skips only on a device with neither `fragmentShaderBarycentric` nor `geometryShader` (`InterpolationF16.cpp:301-303` on `main`): lavapipe has geometry shaders, so it draws through the barycentric emulation's generated geometry stage, which the same entry already describes. The clause is removed; the rest of the entry is unchanged. ### Tested Docs only; nothing was built or run. Checked on `main` by reading `InterpolationF16.cpp:300-303` and `git log` of that file. (`main` `9d6adeb550`; rebased onto it because the entry after this one changed again, `InterpolationF16.cpp:301-302` unchanged) Rebased onto `main` `e78acf4bda` for the conflict with #8339 (merged) in `docs/dev/debt/shader.md`: main's text is kept and this PR's change is unchanged; the statements were rechecked on that commit. - `python tools/check_conventions.py --base origin/main` with this title and body: 0 errors and one `debt-length` warning, because the entry was already over 1000 characters (2167 before, 2102 after this change). - Not tested: behaviour on any machine; this changes text only. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (Claude Code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
harisibrar1 commented 2026-10-21 05:59:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-21T05:59:41Z.

Review: APPROVED


Checked against main:

  • core/libs/prx/libSceAgcDriver/tests/execution/InterpolationF16.cpp:301-303 skips the draw test only when the device has neither fragmentShaderBarycentric nor geometryShader. The file has no lavapipe-specific skip, so "Lavapipe has no barycentrics, so the draw test is skipped in CI" no longer holds.
  • The draw goes through the barycentric emulation (InterpolationF16.cpp:163-167, BuildBarycentricGeometryShader), added in 5697cea47, which is an ancestor of main.
  • The only other skip, at lines 306-311, is for a missing Float64 capability, matching the retained sentence "integer arithmetic on every device, and the f64 arithmetic on devices with Float64".
  • Nothing else in docs/dev/debt repeats the lavapipe skip. check_conventions.py --base main --head pr-8406: 0 errors, only the pre-existing debt-length warning.

Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5595535946 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8406#pullrequestreview-5595535946). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-21T05:59:41Z. **Review:** APPROVED --- Checked against main: - `core/libs/prx/libSceAgcDriver/tests/execution/InterpolationF16.cpp:301-303` skips the draw test only when the device has neither `fragmentShaderBarycentric` nor `geometryShader`. The file has no lavapipe-specific skip, so "Lavapipe has no barycentrics, so the draw test is skipped in CI" no longer holds. - The draw goes through the barycentric emulation (`InterpolationF16.cpp:163-167`, `BuildBarycentricGeometryShader`), added in 5697cea47, which is an ancestor of main. - The only other skip, at lines 306-311, is for a missing Float64 capability, matching the retained sentence "integer arithmetic on every device, and the f64 arithmetic on devices with Float64". - Nothing else in `docs/dev/debt` repeats the lavapipe skip. `check_conventions.py --base main --head pr-8406`: 0 errors, only the pre-existing `debt-length` warning. Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!8406
No description provided.