From dff021fa4c6027db3d8e9cc1d2322d121f273fc3 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 21 Oct 2015 17:57:31 -0600 Subject: bug-14786: minor renames --- layers/device_limits.cpp | 2 +- layers/image.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'layers') 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; diff --git a/layers/image.h b/layers/image.h index e1738c84..cce4b9cd 100644 --- a/layers/image.h +++ b/layers/image.h @@ -52,7 +52,7 @@ typedef struct _IMAGE_STATE _IMAGE_STATE():mipLevels(0), arraySize(0), format(VK_FORMAT_UNDEFINED), samples(0), imageType(VK_IMAGE_TYPE_NUM) {}; _IMAGE_STATE(const VkImageCreateInfo* pCreateInfo): mipLevels(pCreateInfo->mipLevels), - arraySize(pCreateInfo->arraySize), + arraySize(pCreateInfo->arrayLayers), format(pCreateInfo->format), samples(pCreateInfo->samples), imageType(pCreateInfo->imageType) -- cgit v1.2.3