docs: state the minimum validation-layer version for the GPU-test procedure #17699
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17699"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by tablefrogpillow on 2026-11-09T10:37:13Z.
What
An AGC / shader recompiler / VideoOut GPU test run with a Khronos validation layer older than the repo's
3rdparty/Vulkan-Headerssubmodule logs a spuriousVUID-VkDeviceCreateInfo-pNext-pNext: the layer does not know thepNextstructs the driver chains (e.g.VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FMA_FEATURES_KHR, and on 1.3.275 alsoMAINTENANCE_8), so every GPU test trips theVUID-regex and fails. This bites the documented procedure in AGENTS.md / CONTRIBUTING.md and the CI bots (which run the 1.3.275 / 1.4.309 distro layers).This adds one sentence next to the GPU-test procedure in both files stating the minimum layer version: at least as new as the Vulkan-Headers submodule (
VK_HEADER_VERSION335, i.e. layer 1.4.335+). Docs only; no code change.Tested
Docs only. Reproduced the spurious
VUID-VkDeviceCreateInfo-pNext-pNexton RX Vega (RADV, Linux) with the Ubuntu 24.04 system layer (1.3.275), and confirmed it is absent with a 1.4.335+ layer.python3 tools/check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch) — n/a, docs only.mdfiles or images added to the repository🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-10T17:49:26Z.
Review: COMMENTED
Read
92590d9df4againstmain.Correctness.
3rdparty/Vulkan-Headersis pinned at2fa203425eon main and on this head, and itsvulkan_core.h:69definesVK_HEADER_VERSION 335, so the number in the sentence is right.VulkanDevice.cpp(around lines 1820-1830 and 2325-2327) does buildVkPhysicalDeviceShaderFmaFeaturesKHRand chain it into the devicepNext, as the text says. The sentence is added to the same rule inAGENTS.mdandCONTRIBUTING.md, with the same wording in both.Non-blocking. The FMA struct is chained only
if (float16Fma), which needsVK_KHR_shader_fmaandshaderFmaFloat16on the device (VulkanDevice.cpp:1821-1825,:2325). "fails every GPU test" is therefore too strong; "fails every GPU test on a device that exposes the extension" is what the code supports. TheCONTRIBUTING.mdline it edits is the same one #17896 edits (theVK_LOADER_DEBUGchange), so the two will conflict textually; whichever merges second needs a rebase.Not run here; this is from reading the code.
AI-assisted: yes.