update parallel rdp

This commit is contained in:
Logan McNaughton
2022-09-16 22:17:29 -06:00
parent 6b9bf41071
commit 6178389fef
13 changed files with 63 additions and 82 deletions
@@ -24,8 +24,6 @@
#include "device.hpp"
#include <utility>
using namespace std;
namespace Vulkan
{
static const char *storage_to_str(VkPerformanceCounterStorageKHR storage)
@@ -382,7 +380,7 @@ void QueryPool::add_pool()
if (device->get_device_features().host_query_reset_features.hostQueryReset)
table.vkResetQueryPoolEXT(device->get_device(), pool.pool, 0, pool.size);
pools.push_back(move(pool));
pools.push_back(std::move(pool));
}
QueryPoolHandle QueryPool::write_timestamp(VkCommandBuffer cmd, VkPipelineStageFlagBits stage)
@@ -460,7 +458,7 @@ double TimestampInterval::get_time_per_accumulation() const
return 0.0;
}
const string &TimestampInterval::get_tag() const
const std::string &TimestampInterval::get_tag() const
{
return tag;
}
@@ -472,8 +470,8 @@ void TimestampInterval::reset()
total_frame_iterations = 0;
}
TimestampInterval::TimestampInterval(string tag_)
: tag(move(tag_))
TimestampInterval::TimestampInterval(std::string tag_)
: tag(std::move(tag_))
{
}