Skip to content

Commit

Permalink
Fix VulkanFunctionTable alignment
Browse files Browse the repository at this point in the history
Summary:
# Problem:
If someone uses VulkanFunctionTable outside IGL and have different set of defines (not one with what IGL was compiled), loading procedure inside IGL becomes incompatible with external VulkanFunctionTable because of wrong alignment.

# Fix:
Generate alignments for optional blocks inside VulkanFunctionTable. It helps to maintain stable addresses for all functions.

Reviewed By: EricGriffith

Differential Revision: D49950763

fbshipit-source-id: 23fb488a7bdb7210ae18c946eb6e4417ad4007fd
  • Loading branch information
Roman Kuznetsov authored and facebook-github-bot committed Oct 9, 2023
1 parent 21abf48 commit 193e734
Showing 1 changed file with 451 additions and 225 deletions.
Loading

0 comments on commit 193e734

Please sign in to comment.