Compare commits

...

3 Commits

Author SHA1 Message Date
Kyle Muñoz
1406c92cd9
Merge 10a42b83d6 into 7d158acc3b 2024-09-30 07:42:59 -07:00
gdkchan
7d158acc3b
Do not try to create a texture pool if shader does not use textures (#7379) 2024-09-30 11:41:07 -03:00
Kyle Muñoz
10a42b83d6
Update global.json 2024-09-18 11:33:03 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "8.0.401",
"rollForward": "latestFeature"
}
}

View File

@ -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);