upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorMatheus Fermiano <235702001+matheusfermiano-source@users.noreply.github.com>2026-11-23 15:05:12 -0300
committerJARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com>2026-11-24 10:02:30 +0000
commitde286bf79167ebc15a60199ba22aeef1dcedf0db (patch)
tree3f6800297b1c3ccd80bbf970a7c2f66ee363a086 /docs/testing.md
parent21625bca8c675c62f9dbffc318ce6a59d57faf31 (diff)
vk_subgroup_info: per_vertex_inputs needs VK_KHR_fragment_shader_barycentric listed
RADV (Mesa 26.2.6) sets fragmentShaderBarycentric on a gfx90c iGPU (Vega 8, PCI 1002:15E7) that doesn't list VK_KHR_fragment_shader_barycentric, so per_vertex_inputs read true there. run_gpu_tests.py then didn't turn on --f16-interp-fallback and ps_interp_f16_high skipped; make_game.py reads the same field and would keep PerVertexKHR inputs the device can't run. The feature now counts only with its extension in the device's list. The gfx90c/RADV measurement goes into docs/testing.md. AI-assisted (Claude Code). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/testing.md b/docs/testing.md
index 743d7b640..0021f6756 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -508,8 +508,12 @@ also advertises the feature but returns a wrong third `BaryCoordKHR` component,
508expected (#5933: Vega 8, PCI 1002:15E7, driver 31.0.21921.13001). `ps_bary`, `ps_persp_bary` and `ps_ij_computed` 508expected (#5933: Vega 8, PCI 1002:15E7, driver 31.0.21921.13001). `ps_bary`, `ps_persp_bary` and `ps_ij_computed`
509fail natively; through the fallback `ps_bary` and `ps_persp_bary` pass. `tools/vk_subgroup_info.py` reports 509fail natively; through the fallback `ps_bary` and `ps_persp_bary` pass. `tools/vk_subgroup_info.py` reports
510`barycentric_fallback` for these PCI IDs under `VK_DRIVER_ID_AMD_PROPRIETARY`, so `make_game.py` and 510`barycentric_fallback` for these PCI IDs under `VK_DRIVER_ID_AMD_PROPRIETARY`, so `make_game.py` and
511`run_gpu_tests.py` turn the fallback on by themselves there, with the same `LEONIDA_BARY_FALLBACK` override. RADV and 511`run_gpu_tests.py` turn the fallback on by themselves there, with the same `LEONIDA_BARY_FALLBACK` override. RADV
512other GCN 5 GPUs are not covered: none has been measured. 512(Mesa 26.2.6) on the same Vega 8 doesn't list `VK_KHR_fragment_shader_barycentric` at all, though it sets the
513`fragmentShaderBarycentric` feature, so the four raw-barycentric tests skip there and pass with
514`LEONIDA_BARY_FALLBACK=1`, and `ps_interp_f16_high` passes through the f16 fallback that `run_gpu_tests.py` turns on
515by itself ([#166 entry](https://github.com/ItsNotRexed/Leonida/issues/166#issuecomment-7109387712)). Other GCN 5 GPUs
516are not covered: none has been measured.
513 517
514## Macs: 16-bit interpolation without PerVertexKHR 518## Macs: 16-bit interpolation without PerVertexKHR
515 519