Repository navigation
[BUILD-546] Reject over-limit compute workgroup memory in vk_pipeline_check - #1958
Conversation
|
Independent Linux/Vulkan check of BUILD-546 at I built
No game files. AI-assisted verification. |
|
Tested ced200b on NVIDIA GeForce GTX 1660 (Turing, TU116, subgroup 32..32), driver 620.73.04 (proprietary, Vulkan 1.4.357, Native build of runtime/ from this head (Ninja, RelWithDebInfo, clang 23.1.5), llvm-mc 23.1.5, SPIRV-Tools v2026.4.
AI-assisted run (Claude). Synthetic test shaders only, no game files involved. |
|
Tested on Windows 11 with two GPUs on one machine (runtime built from this PR's head, MSVC 14.51): no regression from this PR. RTX 4080 SUPER: 111/113 pass. On current |
|
Tested @Capi360 I've opened Capi360#1 against your branch ( AI-assisted (Claude Code). |
…in, lds_bytes CLI check - d3d12_vulkan_device.cpp, vk_test_device.h: #760 chained VkPhysicalDeviceCustomBorderColorFeaturesEXT onto enable13, which #1706 replaced with leonida::Vulkan13Features; it goes at *v13.next() like the other later feature structs. The runtime and the GPU test harness didn't compile. - check_vk_pipeline_cli.cmake: #1958's lds_bytes cases matched "malformed JSON"; the index parser reports where it stopped ("... at byte 37"), which the check now matches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BUILD-546, claimed in #1902. This is the pipeline-checker follow-up to #1882.
Changes
lds_bytesfield as an unsigned 32-bit integer. Reject malformed counts during index parsing.maxComputeSharedMemorySizebefore creating its shader module. Record an over-limit entry as a module failure and continue through the remaining entries and the final cache save. Indexes without the field and the explicit--max-bytesfilter retain their existing behavior.Verification
Windows 11 build 26200, MSVC 19.44, Windows SDK 10.0.28000.0, NVIDIA GeForce RTX 3060 Ti (616.56, Vulkan 1.4.351), RelWithDebInfo. All shader inputs were synthetic.
lds_bytes, returned 1 for the mixed batch, and saved a nonempty cache. Verified with one and two workers. Selecting just the two valid entries returned 0. The size filter continued to skip all three when set below their file sizes.vk_pipeline_check_clipassed, including negative, fractional, and overflowing counts. The extended test failed against the old binary.test_docs_links.py,test_ctest_registration.py, Python compilation, CLI help, andgit diff --checkpassed.AI-assisted with Codex.