Repository navigation
Conversation
|
Tested Built |
|
Tested
( With #4792. That PR also changes how statistics segments are split around helper commands (transfers, on ANV), so I merged both into |
|
Independent Windows clang-cl/xwin check at 43e0772. replay_query_predication, replay_query_edges and predicated_copy passed (3/3), including the counted-dispatch query order regression. This was the stock test set. AI-assisted testing. |
|
Tested 43e0772 on NVIDIA GeForce RTX 5060 Ti, driver 621.24 (32.0.16.2124), Windows 11 Pro 26300, MSVC (VS 18 Build Tools) RelWithDebInfo, Vulkan headers via
Read the diff first: one condition in |
|
Tested
AI-assisted verification; no game data used. |
What changes
The query segmentation added in #2359 brackets every
ExecuteIndirectin the emit loop. GPU-counted compute dispatch already brackets its internal count helper. When a pipeline-statistics query is active, both paths emit the same query end and begin, and the helper runs inside the resumed query. Coordination claim.Apply the draw transition only to draws and indirect draws. The counted-dispatch path ends the old statistics segment, runs the helper, resumes the query once, and then executes the application's indirect dispatches.
Validation
replay_query_predicationchecks exact Vulkan event order through the query resolve. Its assertion fails on unchanged main and passes with the fix.replay_query_predication,replay_query_edges, andpredicated_copypassed.CSInvocationson an RTX 4070 SUPER (616.92), with Vulkan validation and synchronization validation enabled. The cases include zero count, the maximum, count clamping and a GPU overwrite. The local probe used test: root UAV s4:s5 in the counted indirect dispatch shader #6566's corrected shader fixture to exercise the independent statistics change. This PR leaves that fixture untouched.AI-assisted. No game files were used.