mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
VideoCommon: Add names for textures and shaders
This commit is contained in:
parent
85d2ea0dd2
commit
afd02b79a5
9 changed files with 146 additions and 46 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue