From fbb4019ed5c12c4a888c7b09db648ac595366896 Mon Sep 17 00:00:00 2001 From: gdkchan <gab.dark.100@gmail.com> Date: Tue, 29 Jun 2021 14:32:02 -0300 Subject: Initial support for separate GPU address spaces (#2394) * Make GPU memory manager a member of GPU channel * Move physical memory instance to the memory manager, and the caches to the physical memory * PR feedback --- Ryujinx.Graphics.Gpu/Image/SamplerPool.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Gpu/Image/SamplerPool.cs') diff --git a/Ryujinx.Graphics.Gpu/Image/SamplerPool.cs b/Ryujinx.Graphics.Gpu/Image/SamplerPool.cs index 1395aea2..aed6cb9c 100644 --- a/Ryujinx.Graphics.Gpu/Image/SamplerPool.cs +++ b/Ryujinx.Graphics.Gpu/Image/SamplerPool.cs @@ -1,3 +1,5 @@ +using Ryujinx.Graphics.Gpu.Memory; + namespace Ryujinx.Graphics.Gpu.Image { /// <summary> @@ -11,9 +13,10 @@ namespace Ryujinx.Graphics.Gpu.Image /// Constructs a new instance of the sampler pool. /// </summary> /// <param name="context">GPU context that the sampler pool belongs to</param> + /// <param name="physicalMemory">Physical memory where the sampler descriptors are mapped</param> /// <param name="address">Address of the sampler pool in guest memory</param> /// <param name="maximumId">Maximum sampler ID of the sampler pool (equal to maximum samplers minus one)</param> - public SamplerPool(GpuContext context, ulong address, int maximumId) : base(context, address, maximumId) { } + public SamplerPool(GpuContext context, PhysicalMemory physicalMemory, ulong address, int maximumId) : base(context, physicalMemory, address, maximumId) { } /// <summary> /// Gets the sampler with the given ID. -- cgit v1.2.3-70-g09d2