@@ -13031,21 +13031,21 @@ struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT>
1303113031// Header "base class" for pNext chain traversal
1303213032struct LvlGenericHeader {
1303313033 VkStructureType sType;
13034- const LvlGenericHeader * pNext;
13034+ const LvlGenericHeader* pNext;
1303513035};
1303613036struct LvlGenericModHeader {
1303713037 VkStructureType sType;
13038- LvlGenericModHeader * pNext;
13038+ LvlGenericModHeader* pNext;
1303913039};
1304013040
1304113041// Find an entry of the given type in the pNext chain
1304213042template <typename T>
13043- const T * lvl_find_in_chain(const void * next) {
13044- const LvlGenericHeader * current = reinterpret_cast<const LvlGenericHeader *>(next);
13045- const T * found = nullptr;
13043+ const T* lvl_find_in_chain(const void* next) {
13044+ const LvlGenericHeader* current = reinterpret_cast<const LvlGenericHeader*>(next);
13045+ const T* found = nullptr;
1304613046 while (current) {
1304713047 if (LvlTypeMap<T>::kSType == current->sType) {
13048- found = reinterpret_cast<const T *>(current);
13048+ found = reinterpret_cast<const T*>(current);
1304913049 current = nullptr;
1305013050 } else {
1305113051 current = current->pNext;
@@ -13055,12 +13055,12 @@ const T *lvl_find_in_chain(const void *next) {
1305513055}
1305613056// Find an entry of the given type in the pNext chain
1305713057template <typename T>
13058- T * lvl_find_mod_in_chain(void * next) {
13059- LvlGenericModHeader * current = reinterpret_cast<LvlGenericModHeader *>(next);
13060- T * found = nullptr;
13058+ T* lvl_find_mod_in_chain(void* next) {
13059+ LvlGenericModHeader* current = reinterpret_cast<LvlGenericModHeader*>(next);
13060+ T* found = nullptr;
1306113061 while (current) {
1306213062 if (LvlTypeMap<T>::kSType == current->sType) {
13063- found = reinterpret_cast<T *>(current);
13063+ found = reinterpret_cast<T*>(current);
1306413064 current = nullptr;
1306513065 } else {
1306613066 current = current->pNext;
@@ -13071,7 +13071,7 @@ T *lvl_find_mod_in_chain(void *next) {
1307113071
1307213072// Init the header of an sType struct with pNext
1307313073template <typename T>
13074- T lvl_init_struct(void * p_next) {
13074+ T lvl_init_struct(void* p_next) {
1307513075 T out = {};
1307613076 out.sType = LvlTypeMap<T>::kSType;
1307713077 out.pNext = p_next;
0 commit comments