Skip to content
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

Combine common code from vulkan capture manager and vulkan state writer #1841

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

ziga-lunarg
Copy link
Contributor

This is needed for #1812

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 289791.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5221 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 289807.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5222 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5222 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 289895.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5224 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5224 passed.

#endif
}

static void CommonWriteFillMemoryCmd(format::HandleId memory_id,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better if instead of defining this function to pass the pointer to Writer's/Manager's WriteFillMemoryCmd as an additional argument to CommonProcessHardwareBuffer. But this would require writing a declaration for that function pointer somewhere that is common to all managers and is api agnostic since this function is referred to from a lot of places (dx12 capture manager, vulkan capture manager and state writer, and the page guard manager).

I think this gets outside of the scope of this PR so I'll just leave this here as a suggestion for a different PR.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 292515.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5259 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5259 passed.

@ziga-lunarg ziga-lunarg merged commit 3d95de1 into LunarG:dev Nov 7, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants