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

[query-pool] Add wrapper for Vulkan query pools #393

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

IAmNotHanni
Copy link
Member

@IAmNotHanni IAmNotHanni commented May 8, 2021

Closes #280

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#queries

I did not fully implement this yet because I think yeetari knows best where to place it inside of the rendergraph.
Keep in mind that this code is untested.

@IAmNotHanni IAmNotHanni added the cat:enhancement enhancement/requested feature/update of existing features label May 8, 2021
@IAmNotHanni IAmNotHanni requested review from yeetari and IceflowRE May 8, 2021 12:11
@IAmNotHanni IAmNotHanni self-assigned this May 8, 2021
src/vulkan-renderer/wrapper/make_info.cpp Outdated Show resolved Hide resolved
src/vulkan-renderer/wrapper/query_pool.cpp Outdated Show resolved Hide resolved
src/vulkan-renderer/wrapper/query_pool.cpp Outdated Show resolved Hide resolved
include/inexor/vulkan-renderer/wrapper/query_pool.hpp Outdated Show resolved Hide resolved
@IAmNotHanni IAmNotHanni force-pushed the hanni/vulkan_queries branch from 5f2d619 to b0f4386 Compare May 15, 2021 19:16
@IAmNotHanni
Copy link
Member Author

IAmNotHanni commented May 15, 2021

As @yeetari pointed out we must support other types beside VK_QUERY_TYPE_PIPELINE_STATISTICS as well.

  • Add support for queries other than VK_QUERY_TYPE_PIPELINE_STATISTICS

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryType.html
https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkQueryPoolCreateInfo.html

@IAmNotHanni
Copy link
Member Author

IAmNotHanni commented May 16, 2021

  • Test this code

@IAmNotHanni IAmNotHanni marked this pull request as draft July 19, 2021 18:35
@IAmNotHanni IAmNotHanni added the prio:low This has low priority. label Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:enhancement enhancement/requested feature/update of existing features prio:low This has low priority.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Vulkan pipeline statistics
3 participants