The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/vk: Normalize member names in extensions

+5 -5
+4 -4
src/xrt/auxiliary/vk/vk_helpers.c
··· 1223 1223 // Reset before filling out. 1224 1224 vk->has_GOOGLE_display_timing = false; 1225 1225 vk->has_EXT_global_priority = false; 1226 - vk->has_VK_EXT_robustness2 = false; 1226 + vk->has_EXT_robustness2 = false; 1227 1227 1228 1228 for (uint32_t i = 0; i < num_device_extensions; i++) { 1229 1229 const char *ext = device_extensions[i]; ··· 1236 1236 } 1237 1237 #ifdef VK_EXT_robustness2 1238 1238 if (strcmp(ext, VK_EXT_ROBUSTNESS_2_EXTENSION_NAME) == 0) { 1239 - vk->has_VK_EXT_robustness2 = true; 1239 + vk->has_EXT_robustness2 = true; 1240 1240 } 1241 1241 #endif 1242 1242 } ··· 1346 1346 }; 1347 1347 1348 1348 #ifdef VK_EXT_robustness2 1349 - if (vk->has_VK_EXT_robustness2) { 1349 + if (vk->has_EXT_robustness2) { 1350 1350 physical_device_features.pNext = physical_device_features.pNext; 1351 1351 physical_device_features.pNext = (void *)&robust_info; 1352 1352 } ··· 1475 1475 }; 1476 1476 1477 1477 #ifdef VK_EXT_robustness2 1478 - if (vk->has_VK_EXT_robustness2) { 1478 + if (vk->has_EXT_robustness2) { 1479 1479 // This struct is a in/out struct, while device_create_info has a const pNext. 1480 1480 robust_info.pNext = (void *)device_create_info.pNext; 1481 1481 device_create_info.pNext = (void *)&robust_info;
+1 -1
src/xrt/auxiliary/vk/vk_helpers.h
··· 50 50 51 51 bool has_GOOGLE_display_timing; 52 52 bool has_EXT_global_priority; 53 - bool has_VK_EXT_robustness2; 53 + bool has_EXT_robustness2; 54 54 55 55 bool is_tegra; 56 56