layers: Enable Wall and Werror.
diff --git a/tests/vkrenderframework.cpp b/tests/vkrenderframework.cpp
index 4b06170..c99bb02 100644
--- a/tests/vkrenderframework.cpp
+++ b/tests/vkrenderframework.cpp
@@ -2,6 +2,7 @@
* Copyright (c) 2015-2016 The Khronos Group Inc.
* Copyright (c) 2015-2016 Valve Corporation
* Copyright (c) 2015-2016 LunarG, Inc.
+ * Copyright (c) 2015-2016 Google, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and/or associated documentation files (the "Materials"), to
@@ -669,7 +670,7 @@
VkMemoryPropertyFlags reqs) {
uint32_t mipCount;
VkFormatProperties image_fmt;
- VkImageTiling tiling;
+ VkImageTiling tiling = VK_IMAGE_TILING_OPTIMAL;
mipCount = 0;
@@ -702,7 +703,7 @@
<< "Error: Cannot find requested tiling configuration";
}
- VkImageFormatProperties imageFormatProperties = {0};
+ VkImageFormatProperties imageFormatProperties;
vkGetPhysicalDeviceImageFormatProperties(m_device->phy().handle(), fmt,
VK_IMAGE_TYPE_2D, tiling, usage,
0, // VkImageCreateFlags