Skip to content

apidump: Ditch C++ templates to handle output format#2623

Draft
charles-lunarg wants to merge 1 commit intoLunarG:mainfrom
charles-lunarg:apidump_ditch_templates_for_output_format
Draft

apidump: Ditch C++ templates to handle output format#2623
charles-lunarg wants to merge 1 commit intoLunarG:mainfrom
charles-lunarg:apidump_ditch_templates_for_output_format

Conversation

@charles-lunarg
Copy link
Contributor

@charles-lunarg charles-lunarg commented Feb 11, 2026

Speed up compilation by runtime switching on the output format instead of having template overloads for each output format type.

Fixes #2524

Did a quick compilation test.
main: 08.937s
this branch: 03.347s

I have not done any verification of correctness of the output beyond making sure vkcube works at all. I also haven't checked if this adds dramatically worse overhead during runtime.

@ci-tester-lunarg
Copy link

CI VulkanTools build queued with queue ID 645580.

@ci-tester-lunarg
Copy link

CI VulkanTools build # 5148 running.

@ci-tester-lunarg
Copy link

CI VulkanTools build # 5148 passed.

Speed up compilation by runtime managing formatting of the output stream
rather than having template overloads for each output format type.
@charles-lunarg charles-lunarg force-pushed the apidump_ditch_templates_for_output_format branch from 5785645 to e02ae6e Compare February 11, 2026 20:35
@ci-tester-lunarg
Copy link

CI VulkanTools build queued with queue ID 646279.

@ci-tester-lunarg
Copy link

CI VulkanTools build # 5149 running.

@ci-tester-lunarg
Copy link

CI VulkanTools build # 5149 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.

RasPi CM5 4GB + Raspbian OOMs building 1.4.328.1

3 participants