mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-24 17:43:04 +00:00
Do not try to create a texture pool if shader does not use textures (#7379)
This commit is contained in:
parent
5dbba07e33
commit
7d158acc3b
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
constantBufferUsePerStageMask &= ~(1 << index);
|
||||
}
|
||||
|
||||
if (checkTextures)
|
||||
if (checkTextures && _allTextures.Length > 0)
|
||||
{
|
||||
TexturePool pool = channel.TextureManager.GetTexturePool(poolState.TexturePoolGpuVa, poolState.TexturePoolMaximumId);
|
||||
|
||||
|
|
Loading…
Reference in a new issue