Commit 653a3a7
committed
fix(resolve): seed req_types from command parameter types for Vulkan
Extensions like VK_EXT_shader_object absorb commands from other
extensions (e.g. vkCmdSetViewportSwizzleNV from VK_NV_viewport_swizzle)
without selecting those extensions or their types. This left parameter
types like VkViewportSwizzleNV absent from req_types, causing missing
typedef errors when compiling the generated header.
Fix by seeding req_types with the type_name of every selected command's
parameters before the fixpoint type expansion runs, so transitively
required types are included regardless of which extension originally
defined them.
Signed-off-by: Steven Noonan <steven@uplinklabs.net>1 parent b419f37 commit 653a3a7
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
480 | 496 | | |
481 | 497 | | |
482 | 498 | | |
| |||
0 commit comments