Skip to content

Commit

Permalink
codegen: Create vk_dispatch_table_helper.cpp
Browse files Browse the repository at this point in the history
Contains all the implementations of functions defined in
vk_dispatch_table_helper.h. This improves debug build times by not
having each translation unit initialize api_extension_map whenever
the dll is loaded.
  • Loading branch information
charles-lunarg committed Jan 12, 2024
1 parent c3b8c89 commit 2327b30
Show file tree
Hide file tree
Showing 5 changed files with 4,993 additions and 4,928 deletions.
1 change: 1 addition & 0 deletions layers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ target_sources(VkLayer_utils PRIVATE
${API_TYPE}/generated/vk_validation_error_messages.h
${API_TYPE}/generated/vk_layer_dispatch_table.h
${API_TYPE}/generated/vk_dispatch_table_helper.h
${API_TYPE}/generated/vk_dispatch_table_helper.cpp
${API_TYPE}/generated/vk_safe_struct.h
${API_TYPE}/generated/vk_safe_struct_utils.cpp
${API_TYPE}/generated/vk_safe_struct_core.cpp
Expand Down
Loading

0 comments on commit 2327b30

Please sign in to comment.