Repository navigation
Fix 1833 bindless - #1927
Closed
BubsMcgee wants to merge 2 commits into
Closed
Fix 1833 bindless#1927BubsMcgee wants to merge 2 commits into
BubsMcgee wants to merge 2 commits into
Conversation
…s the runtime does (RT-PIPELINE-CHECK-ROBUSTNESS) Since ba62682 (ProjectLeonida#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.
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as:
Depends on:
Fixes:
What and why
Tested
GPUs tested:
AI-assisted:
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.