-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
layers: Move command counting to CMD_BUFFER_STATE::RecordCmd() #3184
layers: Move command counting to CMD_BUFFER_STATE::RecordCmd() #3184
Conversation
CI Vulkan-ValidationLayers build queued with queue ID 21545. |
CI Vulkan-ValidationLayers build # 4451 running. |
CI Vulkan-ValidationLayers build # 4451 failed. |
This method can be overriden by validation objects to do more detailed tracking, if desired. Add RecordStateCmd() and RecordTransferCmd() to clean up repeated code blobs found in many commands.
Move some of the sync related helper methods to the CMD_BUFFER_STATE file, before moving them to that class. The only part of this change that isn't a straight cut / paste is ValidationStateTracker::RecordCmdWriteTimestamp() which will only exist until the next commit.
Convert sync related ValidationStateTracker methods to be CMD_BUFFER_STATE methods. This change also adds RecordCmd() calls to them.
2433e4a
to
2d3f0d5
Compare
CI Vulkan-ValidationLayers build queued with queue ID 21604. |
CI Vulkan-ValidationLayers build # 4453 running. |
CI Vulkan-ValidationLayers build # 4453 passed. |
FYI @nadavgevaAMD you should be able to override RecordCmd() to track all of the commands in a vector. |
@jeremyg-lunarg -- I wonder if we should coordinate command tagging efforts s.t. tagging is consistent between syncval and the other efforts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a nice cleanup!
Sure... Lets talk offline. |
This method can be overriden by validation objects to do more detailed tracking, if desired.
Move some parts of command recording to CMD_BUFFER_STATE.