diff --git a/tests/layer_validation_tests.cpp b/tests/layer_validation_tests.cpp index 639839dbf0d45cb97bb46b1645ea130187bb8154..071095a4a44173433809d347f809e97df09ff70e 100644 --- a/tests/layer_validation_tests.cpp +++ b/tests/layer_validation_tests.cpp @@ -102,7 +102,7 @@ static const char bindStateFragShaderText[] = // Format search helper VkFormat FindSupportedDepthStencilFormat(VkPhysicalDevice phy) { - VkFormat ds_formats[] = { VK_FORMAT_D16_UNORM_S8_UINT, VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT_S8_UINT }; + VkFormat ds_formats[] = {VK_FORMAT_D16_UNORM_S8_UINT, VK_FORMAT_D24_UNORM_S8_UINT, VK_FORMAT_D32_SFLOAT_S8_UINT}; for (uint32_t i = 0; i < sizeof(ds_formats); i++) { VkFormatProperties format_props; vkGetPhysicalDeviceFormatProperties(phy, ds_formats[i], &format_props); diff --git a/tests/vkrenderframework.cpp b/tests/vkrenderframework.cpp index 909de9746a3ec233360a57425d446e05db2cf3b1..bc9c909c7424f6387d1fd9953de77c3c71d96740 100644 --- a/tests/vkrenderframework.cpp +++ b/tests/vkrenderframework.cpp @@ -162,7 +162,7 @@ void VkRenderFramework::ShutdownFramework() { // reset the driver delete m_device; if (this->inst) vkDestroyInstance(this->inst, NULL); - this->inst = (VkInstance)0; // In case we want to re-initialize + this->inst = (VkInstance)0; // In case we want to re-initialize } void VkRenderFramework::GetPhysicalDeviceFeatures(VkPhysicalDeviceFeatures *features) {