diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-03 01:25:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-03 01:25:34 +0100 |
| commit | f6883a08830158e5ae768b633d69bb504c9e7e3c (patch) | |
| tree | 1781e71210824a223404131a80f7acb674773166 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 85d2ea0dd28444effed13a622360253f2d74bcba (diff) | |
| parent | afd02b79a511f88ae8c7d0be0c49f529967cb243 (diff) | |
Merge pull request #10269 from Pokechu22/graphics-debug-details
VideoCommon: Add names for textures and shaders
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 3041e30473..efe6a381a0 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -2610,7 +2610,8 @@ bool TextureCacheBase::CreateUtilityTextures() { constexpr TextureConfig encoding_texture_config( EFB_WIDTH * 4, 1024, 1, 1, 1, AbstractTextureFormat::BGRA8, AbstractTextureFlag_RenderTarget); - m_efb_encoding_texture = g_renderer->CreateTexture(encoding_texture_config); + m_efb_encoding_texture = + g_renderer->CreateTexture(encoding_texture_config, "EFB encoding texture"); if (!m_efb_encoding_texture) return false; @@ -2622,7 +2623,8 @@ bool TextureCacheBase::CreateUtilityTextures() { constexpr TextureConfig decoding_texture_config( 1024, 1024, 1, 1, 1, AbstractTextureFormat::RGBA8, AbstractTextureFlag_ComputeImage); - m_decoding_texture = g_renderer->CreateTexture(decoding_texture_config); + m_decoding_texture = + g_renderer->CreateTexture(decoding_texture_config, "GPU texture decoding texture"); if (!m_decoding_texture) return false; } |
