Fix 1833 bindless #1927

Closed
github-bot wants to merge 2 commits from gh-pr/1927/head into gh-pr/1927/base
Owner

@⁠BubsMcgee on GitHub · 2026-11-25 15:54 UTC · original
BubsMcgee:fix-1833-bindless → main · +63 −7 · 2 files · 2 commits · closed without merging

Claimed in the coordination issue as:

Depends on:

Fixes:

What and why

Tested

GPUs tested:

AI-assisted:

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠BubsMcgee** on GitHub · 2026-11-25 15:54 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1927) `BubsMcgee:fix-1833-bindless` → `main` · +63 −7 · 2 files · 2 commits · closed without merging Claimed in the coordination issue as: <!-- the item ID from the open "Coordinating who works on what" issue, for example TEST-17, or a link to your claim --> Depends on: <!-- #N for every pull request this one builds on or conflicts with (the coordination issue's Commands section, AGENTS.md); delete the line if it builds on none and conflicts with none --> Fixes: <!-- #N for each issue this closes (GitHub closes it on merge); delete the line if it closes none --> ### What and why <!-- What this changes and the problem it solves. --> ### Tested <!-- What you ran and on which GPU and driver (CONTRIBUTING.md). For the shader translator: how many shaders translate and pass spirv-val, before and after. --> GPUs tested: <!-- vendor, model, driver and OS of each GPU the GPU tests ran on, or n/a --> AI-assisted: <!-- yes or no (AGENTS.md asks a coding agent to say so) --> ### Checklist - [ ] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [ ] One topic; follow-up work goes in a new pull request. - [ ] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
Since ba626820e (#1723) the runtime's device enables robustBufferAccess
with VK_EXT_robustness2's robustBufferAccess2 for bounded indexed
indirect draws (leonida::can_enable_robust_index_view, with
maintenance5), and nullDescriptor wherever robustness2 offers it. The
checker still forced robustBufferAccess off and never enabled
robustness2. AMD makes robust buffer access part of a pipeline's cache
key, so the cache the checker saves stopped hitting in gta6rt:
pipeline_cache_seed fails on an RX 7900 XT.

The checker now makes the same choice with the same helper, chains
robustness2 and maintenance5 only when one of them is used, and after
the general feature query keeps only those choices. A buffer
update-after-bind feature it enables also asks the helper for
robustBufferAccessUpdateAfterBind, so its own device stays valid.
The checker passed an OR of four update-after-bind flags where the runtime passes VulkanDeviceInfo::bindless (an AND of runtimeDescriptorArray, the two dynamic-indexing shader features, and the sampled-image/storage-image/storage-buffer update-after-bind features). The OR can be true where the runtime's AND is false, which flips robust_index_view and breaks the cache key again. Same predicate as vk_test_device.h and create_vulkan_device_standalone.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:11:34 +00:00
github-bot closed this pull request 2026-11-26 10:11:34 +00:00
Author
Owner

@⁠BubsMcgee on GitHub · 2026-11-25 17:10 UTC · original

Closing as a duplicate of #1833 by adrianmjim, which changes the same two files (docs/pipeline_check.md, runtime/test/vk_pipeline_check.cpp) for the same robustBufferAccess choice. No unique content; #1833 is the one to land. The branch stays on the fork.

**@⁠BubsMcgee** on GitHub · 2026-11-25 17:10 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1927#issuecomment-7169104002) Closing as a duplicate of #1833 by adrianmjim, which changes the same two files (docs/pipeline_check.md, runtime/test/vk_pipeline_check.cpp) for the same robustBufferAccess choice. No unique content; #1833 is the one to land. The branch stays on the fork.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.