nop: Clean up comments
authorDave Houlton <daveh@lunarg.com>
Thu, 16 Mar 2017 19:18:15 +0000 (13:18 -0600)
committerDave Houlton <daveh@lunarg.com>
Thu, 16 Mar 2017 22:58:26 +0000 (16:58 -0600)
Change-Id: I392aba1398381205728aead48d6cfd10aa47ac90

layers/buffer_validation.cpp

index 5035617..2977605 100644 (file)
@@ -374,8 +374,7 @@ void TransitionImageAspectLayout(layer_data *device_data, GLOBAL_CB_NODE *pCB, c
     SetLayout(device_data, pCB, mem_barrier->image, sub, mem_barrier->newLayout);
 }
 
-    bool VerifyAspectsPresent(VkImageAspectFlags aspect_mask, VkFormat format) {
-    // TBD: anything to do for metadata bit? or no bits set?
+bool VerifyAspectsPresent(VkImageAspectFlags aspect_mask, VkFormat format) {
     if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != 0) {
         if (!vk_format_is_color(format)) return false;
     }