aboutsummaryrefslogtreecommitdiff
path: root/layers/device_limits.cpp
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-21 17:57:31 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-23 17:32:04 -0600
commitdff021fa4c6027db3d8e9cc1d2322d121f273fc3 (patch)
tree756f84ebda15541ddaee620e18fdfcf76eaa96ad /layers/device_limits.cpp
parent6ce184953cf1788f9b0752de4a762a9ff617c3a2 (diff)
downloadusermoji-dff021fa4c6027db3d8e9cc1d2322d121f273fc3.tar.xz
bug-14786: minor renames
Diffstat (limited to 'layers/device_limits.cpp')
-rw-r--r--layers/device_limits.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/device_limits.cpp b/layers/device_limits.cpp
index eded3573..1217a75c 100644
--- a/layers/device_limits.cpp
+++ b/layers/device_limits.cpp
@@ -523,7 +523,7 @@ VK_LAYER_EXPORT VkResult VKAPI vkCreateImage(
uint64_t totalSize = ((uint64_t)pCreateInfo->extent.width *
(uint64_t)pCreateInfo->extent.height *
(uint64_t)pCreateInfo->extent.depth *
- (uint64_t)pCreateInfo->arraySize *
+ (uint64_t)pCreateInfo->arrayLayers *
(uint64_t)pCreateInfo->samples *
(uint64_t)vk_format_get_size(pCreateInfo->format) +
(uint64_t)imageGranularity ) & ~(uint64_t)imageGranularity;