layers:Kill push descriptor perf warning
authorTobin Ehlis <tobine@google.com>
Wed, 13 Sep 2017 17:49:54 +0000 (11:49 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 13 Sep 2017 18:27:13 +0000 (12:27 -0600)
layers/core_validation.cpp

index 012e0d6..a3095bb 100644 (file)
@@ -5631,10 +5631,6 @@ static void PreCallRecordCmdPushDescriptorSetKHR(layer_data *device_data, VkComm
         cb_state->lastBound[pipelineBindPoint].boundDescriptorSets.resize(set + 1);
         cb_state->lastBound[pipelineBindPoint].dynamicOffsets.resize(set + 1);
     } else {
-        log_msg(device_data->report_data, VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, 0,
-                __LINE__, DRAWSTATE_NONE, "DS",
-                "vkCmdPushDescriptorSet called multiple times for set %d in pipeline layout 0x%" PRIxLEAST64 ".", set,
-                HandleToUint64(layout));
         if (cb_state->lastBound[pipelineBindPoint].boundDescriptorSets[set]->IsPushDescriptor()) {
             cb_state->lastBound[pipelineBindPoint].push_descriptors[set] = nullptr;
         }