@@ -90,15 +90,15 @@ void InitInstanceExtensionTables(VkInstance instance, InstanceDeviceInfo *info)
90
90
}
91
91
92
92
#undef HookInitPromotedExtension
93
- #define HookInitPromotedExtension (cond, func, suffix ) \
94
- if (cond) \
95
- { \
96
- InstanceGPA (func); \
97
- InstanceGPA (CONCAT (func, suffix)); \
98
- if (table->func == NULL ) \
99
- table->func = table->CONCAT (func, suffix); \
100
- if (table->CONCAT (func, suffix) == NULL ) \
101
- table->CONCAT (func, suffix) = table->func ; \
93
+ #define HookInitPromotedExtension (cond, version, func, suffix ) \
94
+ if (cond) \
95
+ { \
96
+ InstanceGPA (func); \
97
+ InstanceGPA (CONCAT (func, suffix)); \
98
+ if (table->func == NULL ) \
99
+ table->func = table->CONCAT (func, suffix); \
100
+ if (table->CONCAT (func, suffix) == NULL ) \
101
+ table->CONCAT (func, suffix) = table->func ; \
102
102
}
103
103
104
104
#undef HookInitExtensionEXTtoKHR
@@ -140,15 +140,15 @@ void InitDeviceExtensionTables(VkDevice device, InstanceDeviceInfo *info)
140
140
}
141
141
142
142
#undef HookInitPromotedExtension
143
- #define HookInitPromotedExtension (cond, func, suffix ) \
144
- if (cond) \
145
- { \
146
- DeviceGPA (func); \
147
- DeviceGPA (CONCAT (func, suffix)); \
148
- if (table->func == NULL ) \
149
- table->func = table->CONCAT (func, suffix); \
150
- if (table->CONCAT (func, suffix) == NULL ) \
151
- table->CONCAT (func, suffix) = table->func ; \
143
+ #define HookInitPromotedExtension (cond, version, func, suffix ) \
144
+ if (cond) \
145
+ { \
146
+ DeviceGPA (func); \
147
+ DeviceGPA (CONCAT (func, suffix)); \
148
+ if (table->func == NULL ) \
149
+ table->func = table->CONCAT (func, suffix); \
150
+ if (table->CONCAT (func, suffix) == NULL ) \
151
+ table->CONCAT (func, suffix) = table->func ; \
152
152
}
153
153
154
154
#undef HookInitExtensionEXTtoKHR
0 commit comments