Repository navigation
Conversation
…/INDEX_BUFFER_VIEW state CreateCommandSignature previously validated every argument type but discarded all but kind and byte stride. CommandSignature stored only kind+stride, ExecuteIndirect recorded minimal state, and the Vulkan replay applied no argument bindings before indirect draws, so a signature like [VERTEX_BUFFER_VIEW, DRAW] drew with whatever vertex buffer happened to be bound. - d3d12_com.h: create_command_signature / command_signature_info carry argument types and root signature - d3d12_com.cpp: CommandSignature stores argument_types_ + root_signature_; ExecuteIndirect reads them into the command struct - d3d12_vulkan_device.cpp: CreateCommandSignature collects argument types from desc->pArgumentDescs and passes them through - command_list.h: ExecuteIndirect gains argument_types field - vulkan_replay.h: replay walks argument types; VERTEX_BUFFER_VIEW (5) and INDEX_BUFFER_VIEW (6) are read from the argument buffer via host_at, resolved to VkBuffer via buffer_at, and bound with vkCmdBindVertexBuffers2 / vkCmdBindIndexBuffer before the indirect draw No game data, no keys, no GPU required for the change itself.
The runtime's device enables VK_EXT_transform_feedback whenever the extension is present, and AMD's driver makes it part of a pipeline's cache key, so the cache vk_pipeline_check seeds offline no longer hit in gta6rt: pipeline_cache_seed failed 3/3 on an RX 7900 XT (adrianmjim). Link the same VkPhysicalDeviceTransformFeedbackFeaturesEXT the runtime enables, next to the mesh-shader one, and list it with the other always-enabled extensions in the header and docs/pipeline_check.md. Tested: pipeline_cache_seed passes on an NVIDIA RTX 3080 Ti (NVIDIA does not key on the extension, so it cannot reproduce the AMD failure). AI-assisted.
…ze counters, TF usage bits)
Contributor
Author
|
Closing this WIP as superseded. The stream-output capture path is implemented in #1884 (Miici0) and the device detect/enable base in #1891; the SO query pools are #1630. Nothing in this branch is unique and it is CONFLICTING with main, so it would only add a rebase. The branch stays on the fork if any hunk is still wanted. |
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.