name some threads

This commit is contained in:
Shawn Hoffman
2020-08-22 02:55:31 -07:00
parent a769dff1d0
commit 6ef9d70701
6 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#include "Common/Assert.h"
#include "Common/MsgHandler.h"
#include "Common/Thread.h"
#include "VideoBackends/Vulkan/VulkanContext.h"
@ -185,6 +186,8 @@ bool CommandBufferManager::CreateSubmitThread()
{
m_submit_loop = std::make_unique<Common::BlockingLoop>();
m_submit_thread = std::thread([this]() {
Common::SetCurrentThreadName("Vulkan CommandBufferManager SubmitThread");
m_submit_loop->Run([this]() {
PendingCommandBufferSubmit submit;
{