diff options
| author | Snooozs <204760317+Snooozs@users.noreply.github.com> | 2026-11-24 17:24:08 +0100 |
|---|---|---|
| committer | Snooozs <204760317+Snooozs@users.noreply.github.com> | 2026-11-24 17:26:40 +0100 |
| commit | d239a9c802d8882422f47585d1bc1099e9232f1a (patch) | |
| tree | 38a4cba35c30108ab69f886479c4ce824640c3ce /docs/testing.md | |
| parent | 3ed8e50b754eb9dcf9e3819eddbbbccd52fc1177 (diff) | |
vk_subgroup_info: take the barycentric fallback on a Raphael iGPU under AMD's 23.20.44 Windows driver (SHADER-BARY-RAPHAEL-OLD-AMD)
On a Raphael RDNA2 iGPU (Ryzen 7 7700, PCI 1002:164E) under AMD's proprietary Windows driver 31.0.22044.1 (Vulkan driverVersion 2.0.283, driver info and compiler 23.20.44), the GPU test ps_bary reads a wrong third BaryCoordKHR component (0.992 where 0.0039 is expected), and it passes with LEONIDA_BARY_FALLBACK=1. barycentric_fallback now returns true for that PCI ID under VK_DRIVER_ID_AMD_PROPRIETARY only while driverVersion is at most VK_MAKE_VERSION(2, 0, 283); newer drivers, other RDNA2 devices and RADV keep native barycentrics. query() reads driverVersion from VkPhysicalDeviceProperties and passes it on; an unreported version (0) takes no fallback from this rule. LEONIDA_BARY_FALLBACK=0 turns it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/testing.md b/docs/testing.md index 04a5af180..7ce9c76ff 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -523,6 +523,11 @@ fail natively; through the fallback `ps_bary` and `ps_persp_bary` pass. `tools/v | |||
| 523 | `run_gpu_tests.py` turn the fallback on by themselves there, with the same `LEONIDA_BARY_FALLBACK` override. RADV and | 523 | `run_gpu_tests.py` turn the fallback on by themselves there, with the same `LEONIDA_BARY_FALLBACK` override. RADV and |
| 524 | other GCN 5 GPUs are not covered: none has been measured. | 524 | other GCN 5 GPUs are not covered: none has been measured. |
| 525 | 525 | ||
| 526 | The same driver on a Raphael iGPU (Ryzen 7000 desktop, PCI 1002:164E, RDNA 2) also reads a wrong third `BaryCoordKHR` | ||
| 527 | component in `ps_bary` (0.992 where 0.0039 is expected) under driver 31.0.22044.1 (Vulkan `driverVersion` 2.0.283, compiler | ||
| 528 | 23.20.44), and passes through `LEONIDA_BARY_FALLBACK=1`. `barycentric_fallback` is true there only up to and including | ||
| 529 | driverVersion 2.0.283; newer drivers keep native barycentrics, and `LEONIDA_BARY_FALLBACK=0` turns the fallback off. | ||
| 530 | |||
| 526 | ## Macs: 16-bit interpolation without PerVertexKHR | 531 | ## Macs: 16-bit interpolation without PerVertexKHR |
| 527 | 532 | ||
| 528 | `ps_interp_f16_high` (and `ms_f16_pack`) normally read 16-bit interpolants through `PerVertexKHR` inputs, which | 533 | `ps_interp_f16_high` (and `ms_f16_pack`) normally read 16-bit interpolants through `PerVertexKHR` inputs, which |