VideoBackends / VideoCommon: allow the ability to set debug names for shaders / textures. These names are visible in applications like RenderDoc
This commit is contained in:
1 parent
9b83cf3e7f
commit
1f2f505373
32 files changed
+276
-133
No files matched your search
@@ -58,7 +58,7 @@ bool StateTracker::Initialize()
|
||||
{
|
||||
// Create a dummy texture which can be used in place of a real binding.
|
||||
m_dummy_texture =
|
||||
VKTexture::Create(TextureConfig(1, 1, 1, 1, 1, AbstractTextureFormat::RGBA8, 0));
|
||||
VKTexture::Create(TextureConfig(1, 1, 1, 1, 1, AbstractTextureFormat::RGBA8, 0), "");
|
||||
if (!m_dummy_texture)
|
||||
return false;
|
||||
m_dummy_texture->TransitionToLayout(g_command_buffer_mgr->GetCurrentInitCommandBuffer(),
|
||||
|
||||
Reference in new issue
Block a user