"vkCreateDevice() called with a non-valid VkPhysicalDevice.");
}
my_device_data->deviceMap[device].device = device;
- my_device_data->deviceMap[device].deviceSwapchainExtensionEnabled = false;
+ my_device_data->deviceMap[device].swapchainExtensionEnabled = false;
// Record whether the WSI device extension was enabled for this VkDevice.
// No need to check if the extension was advertised by
for (i = 0; i < pCreateInfo->enabledExtensionNameCount; i++) {
if (strcmp(pCreateInfo->ppEnabledExtensionNames[i], VK_KHR_SWAPCHAIN_EXTENSION_NAME) == 0) {
- my_device_data->deviceMap[device].deviceSwapchainExtensionEnabled = true;
+ my_device_data->deviceMap[device].swapchainExtensionEnabled = true;
}
}
}
"%s() called with a non-valid %s.",
fn, "VkDevice");
- } else if (!pDevice->deviceSwapchainExtensionEnabled) {
+ } else if (!pDevice->swapchainExtensionEnabled) {
return LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice",
SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED,
"%s() called even though the %s extension was not enabled for this VkDevice.",
skipCall |= LOG_ERROR_NON_VALID_OBJ(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
device,
"VkDevice");
- } else if (!pDevice->deviceSwapchainExtensionEnabled) {
+ } else if (!pDevice->swapchainExtensionEnabled) {
skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice",
SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED,
"%s() called even though the %s extension was not enabled for this VkDevice.",
skipCall |= LOG_ERROR_NON_VALID_OBJ(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
device,
"VkDevice");
- } else if (!pDevice->deviceSwapchainExtensionEnabled) {
+ } else if (!pDevice->swapchainExtensionEnabled) {
skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice",
SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED,
"%s() called even though the %s extension was not enabled for this VkDevice.",
skipCall |= LOG_ERROR_NON_VALID_OBJ(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
device,
"VkDevice");
- } else if (!pDevice->deviceSwapchainExtensionEnabled) {
+ } else if (!pDevice->swapchainExtensionEnabled) {
skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, device, "VkDevice",
SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED,
"%s() called even though the %s extension was not enabled for this VkDevice.",
SwpSwapchain *pSwapchain =
&my_data->swapchainMap[pPresentInfo->pSwapchains[i]];
if (pSwapchain) {
- if (!pSwapchain->pDevice->deviceSwapchainExtensionEnabled) {
+ if (!pSwapchain->pDevice->swapchainExtensionEnabled) {
skipCall |= LOG_ERROR(VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT,
pSwapchain->pDevice, "VkDevice",
SWAPCHAIN_EXT_NOT_ENABLED_BUT_USED,
my_data = get_my_data_ptr(get_dispatch_key(device), layer_data_map);
VkLayerDispatchTable *pDisp = my_data->device_dispatch_table;
if (my_data->deviceMap.size() != 0 &&
- my_data->deviceMap[device].deviceSwapchainExtensionEnabled)
+ my_data->deviceMap[device].swapchainExtensionEnabled)
{
if (!strcmp("vkCreateSwapchainKHR", funcName))
return reinterpret_cast<PFN_vkVoidFunction>(vkCreateSwapchainKHR);