mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-25 06:29:14 +00:00
Share texture pool cache between graphics and compute
This commit is contained in:
@@ -33,12 +33,11 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
|
||||
private bool _rebind;
|
||||
|
||||
public TextureBindingsManager(GpuContext context, bool isCompute)
|
||||
public TextureBindingsManager(GpuContext context, TexturePoolCache texturePoolCache, bool isCompute)
|
||||
{
|
||||
_context = context;
|
||||
_isCompute = isCompute;
|
||||
|
||||
_texturePoolCache = new TexturePoolCache(context);
|
||||
_context = context;
|
||||
_texturePoolCache = texturePoolCache;
|
||||
_isCompute = isCompute;
|
||||
|
||||
int stages = isCompute ? 1 : Constants.TotalShaderStages;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user