projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
660ee1d
)
Initialize the memory properties structure
author
Daniel Koch
<dkoch@nvidia.com>
Fri, 25 Sep 2015 05:14:39 +0000
(
01:14
-0400)
committer
Daniel Koch
<dkoch@nvidia.com>
Fri, 25 Sep 2015 05:34:31 +0000
(
01:34
-0400)
This structure has a few large fixed sized arrays in it.
Initialize the structure to avoid printing out uninitialized garbage in the log.
external/vulkancts/framework/vulkan/vkQueryUtil.cpp
patch
|
blob
|
history
diff --git
a/external/vulkancts/framework/vulkan/vkQueryUtil.cpp
b/external/vulkancts/framework/vulkan/vkQueryUtil.cpp
index
0ff5aea
..
05290f6
100644
(file)
--- a/
external/vulkancts/framework/vulkan/vkQueryUtil.cpp
+++ b/
external/vulkancts/framework/vulkan/vkQueryUtil.cpp
@@
-75,7
+75,7
@@
std::vector<VkPhysicalDeviceQueueProperties> getPhysicalDeviceQueueProperties (c
VkPhysicalDeviceMemoryProperties getPhysicalDeviceMemoryProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice)
{
- VkPhysicalDeviceMemoryProperties properties;
+ VkPhysicalDeviceMemoryProperties properties
= {}
;
VK_CHECK(vk.getPhysicalDeviceMemoryProperties(physicalDevice, &properties));
return properties;
}