aboutsummaryrefslogtreecommitdiff
path: root/layers/param_checker.cpp
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-10-27 19:55:05 +0800
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-11-02 15:04:09 -0700
commita014143f876c5ac5c5c7a1cea56f7cacaf3a5cb7 (patch)
tree217fdabc95a40eb0f317a61edb5c88f952549863 /layers/param_checker.cpp
parent1957462626e129223f66949634f4f4a707ec4401 (diff)
downloadusermoji-a014143f876c5ac5c5c7a1cea56f7cacaf3a5cb7.tar.xz
bug 15000: aspect/aspectMask inconsistencies (WIP)
Rename all aspect to aspectMask. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15000
Diffstat (limited to 'layers/param_checker.cpp')
-rw-r--r--layers/param_checker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp
index ad1f2e8a..0aff4509 100644
--- a/layers/param_checker.cpp
+++ b/layers/param_checker.cpp
@@ -2492,11 +2492,11 @@ bool PostGetImageSparseMemoryRequirements(
if(pSparseMemoryRequirements != nullptr)
{
- if ((pSparseMemoryRequirements->formatProperties.aspect &
+ if ((pSparseMemoryRequirements->formatProperties.aspectMask &
(VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0)
{
log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK",
- "vkGetImageSparseMemoryRequirements parameter, VkImageAspect pSparseMemoryRequirements->formatProperties.aspect, is an unrecognized enumerator");
+ "vkGetImageSparseMemoryRequirements parameter, VkImageAspect pSparseMemoryRequirements->formatProperties.aspectMask, is an unrecognized enumerator");
return false;
}
}
@@ -2558,11 +2558,11 @@ bool PostGetPhysicalDeviceSparseImageFormatProperties(
if(pProperties != nullptr)
{
- if ((pProperties->aspect &
+ if ((pProperties->aspectMask &
(VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0)
{
log_msg(mdd(physicalDevice), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK",
- "vkGetPhysicalDeviceSparseImageFormatProperties parameter, VkImageAspect pProperties->aspect, is an unrecognized enumerator");
+ "vkGetPhysicalDeviceSparseImageFormatProperties parameter, VkImageAspect pProperties->aspectMask, is an unrecognized enumerator");
return false;
}
}
@@ -3306,11 +3306,11 @@ bool PreGetImageSubresourceLayout(
{
if(pSubresource != nullptr)
{
- if ((pSubresource->aspect &
+ if ((pSubresource->aspectMask &
(VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0)
{
log_msg(mdd(device), VK_DBG_REPORT_ERROR_BIT, (VkDbgObjectType)0, 0, 0, 1, "PARAMCHECK",
- "vkGetImageSubresourceLayout parameter, VkImageAspect pSubresource->aspect, is an unrecognized enumerator");
+ "vkGetImageSubresourceLayout parameter, VkImageAspect pSubresource->aspectMask, is an unrecognized enumerator");
return false;
}
}