mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 02:10:47 -07:00
Support texture rectangle targets (non-normalized coords)
This commit is contained in:
@ -21,7 +21,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
||||
ulong shaderGpuVa = shaderBaseAddress.Pack() + (uint)dispatchParams.ShaderOffset;
|
||||
|
||||
// Note: A size of 0 is also invalid, the size must be at least 1.
|
||||
int sharedMemorySize = Math.Clamp(dispatchParams.SharedMemorySize & 0xffff, 4, _context.Capabilities.MaximumComputeSharedMemorySize);
|
||||
int sharedMemorySize = Math.Clamp(dispatchParams.SharedMemorySize & 0xffff, 1, _context.Capabilities.MaximumComputeSharedMemorySize);
|
||||
|
||||
ComputeShader cs = _shaderCache.GetComputeShader(
|
||||
shaderGpuVa,
|
||||
|
Reference in New Issue
Block a user