Use correct shared memory size (in words, not bytes)
This commit is contained in:
parent
ad3bc2531b
commit
3323a3a042
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
|
||||
int[] codeCached = MemoryMarshal.Cast<byte, int>(code.Slice(0, program.Size)).ToArray();
|
||||
|
||||
program.Replace(DefineNames.SharedMemorySize, sharedMemorySize.ToString(CultureInfo.InvariantCulture));
|
||||
program.Replace(DefineNames.SharedMemorySize, (sharedMemorySize / 4).ToString(CultureInfo.InvariantCulture));
|
||||
|
||||
program.Replace(DefineNames.LocalSizeX, localSizeX.ToString(CultureInfo.InvariantCulture));
|
||||
program.Replace(DefineNames.LocalSizeY, localSizeY.ToString(CultureInfo.InvariantCulture));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue