diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-21 17:57:31 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-10-23 17:32:04 -0600 |
| commit | dff021fa4c6027db3d8e9cc1d2322d121f273fc3 (patch) | |
| tree | 756f84ebda15541ddaee620e18fdfcf76eaa96ad /layers | |
| parent | 6ce184953cf1788f9b0752de4a762a9ff617c3a2 (diff) | |
| download | usermoji-dff021fa4c6027db3d8e9cc1d2322d121f273fc3.tar.xz | |
bug-14786: minor renames
Diffstat (limited to 'layers')
| -rw-r--r-- | layers/device_limits.cpp | 2 | ||||
| -rw-r--r-- | layers/image.h | 2 |
2 files changed, 2 insertions, 2 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; 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) |
