mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-27 17:07:10 +02:00
GPU resource disposal
This commit is contained in:
parent
2d8339fc61
commit
d7fb450216
20 changed files with 195 additions and 46 deletions
|
@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
|||
// Note: A size of 0 is also invalid, the size must be at least 1.
|
||||
int sharedMemorySize = Math.Clamp(dispatchParams.SharedMemorySize & 0xffff, 1, _context.Capabilities.MaximumComputeSharedMemorySize);
|
||||
|
||||
ComputeShader cs = _shaderCache.GetComputeShader(
|
||||
ComputeShader cs = ShaderCache.GetComputeShader(
|
||||
shaderGpuVa,
|
||||
sharedMemorySize,
|
||||
dispatchParams.UnpackBlockSizeX(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue