mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-04-01 09:56:37 +00:00
Do not try to create a texture pool if shader does not use textures
This commit is contained in:
parent
d86249cb0a
commit
56b10f37d7
@ -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 New Issue
Block a user