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 /runtime/test/code_hooks_test.cpp | |
| 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 'runtime/test/code_hooks_test.cpp')
0 files changed, 0 insertions, 0 deletions