mirror of
				https://github.com/ryujinx-mirror/ryujinx.git
				synced 2025-11-04 03:29:01 -06:00 
			
		
		
		
	Do not try to create a texture pool if shader does not use textures (#7379)
This commit is contained in:
		@@ -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);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user