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

vulkaninfo: Call enumerate functions with scratch buffer #1050

Conversation

charles-lunarg
Copy link
Contributor

This change makes calls using GetVectorInit() to start with an already created buffer of size 64, allowing for the Vulkan implementation to immediately fill in the buffer, rather than having to call the enumerate function twice. This change is primarily motivated to reduce the spam VK_LOADER_DEBUG=all produces when run with vulkaninfo.

This change makes calls using GetVectorInit() to start with an already created
buffer of size 64, allowing for the Vulkan implementation to immediately fill
in the buffer, rather than having to call the enumerate function twice. This
change is primarily motivated to reduce the spam VK_LOADER_DEBUG=all produces
when run with vulkaninfo.
@ci-tester-lunarg
Copy link

CI Vulkan-Tools build queued with queue ID 307481.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1569 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Tools build # 1569 passed.

@charles-lunarg charles-lunarg merged commit fc5eb24 into KhronosGroup:main Nov 21, 2024
18 checks passed
@charles-lunarg charles-lunarg deleted the call_enumerate_functions_less_often branch November 21, 2024 15:54
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.

3 participants