Compare commits

..

3 Commits

Author SHA1 Message Date
dependabot[bot]
e2a6b67d0a
Merge 639d4e915b into 7d158acc3b 2024-09-30 16:14:13 +00:00
dependabot[bot]
639d4e915b
nuget: bump NUnit in the nunit group across 1 directory
Bumps the nunit group with 1 update in the / directory: [NUnit](https://github.com/nunit/nunit).


Updates `NUnit` from 3.13.3 to 4.2.2
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.13.3...4.2.2)

---
updated-dependencies:
- dependency-name: NUnit
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: nunit
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 16:14:10 +00: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

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