mirror of
https://github.com/simple64/simple64.git
synced 2026-09-07 12:52:44 +02:00
update parallel rdp
This commit is contained in:
@@ -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_))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user