layers: Fix typo in mem_tracker
authorMark Lobodzinski <mark@lunarg.com>
Wed, 17 Feb 2016 17:28:38 +0000 (10:28 -0700)
committerJon Ashburn <jon@lunarg.com>
Thu, 18 Feb 2016 22:42:04 +0000 (15:42 -0700)
layers/mem_tracker.cpp

index 007af5b..3600be1 100644 (file)
@@ -2464,7 +2464,7 @@ VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkUpdateDescriptorSets(
     for (uint32_t i = 0; i < descriptorWriteCount; ++i) {
         if (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) {
             my_data->descriptorSetMap[pDescriptorWrites[i].dstSet].images.push_back(pDescriptorWrites[i].pImageInfo->imageView);
-        } else if (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_TEXEL_BUFFER ) {
+        } else if (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER ) {
             // TODO: Handle texel buffer writes
         } else if (pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER ||
                    pDescriptorWrites[i].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) {