mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-06-01 09:59:14 +00:00
Fix SUATOM and other texture shader instructions with RZ dest (#2885)
* Fix SUATOM and other texture shader instructions with RZ dest * Shader cache version bump
This commit is contained in:
@@ -219,9 +219,9 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
Operand GetDest()
|
||||
{
|
||||
if (dest > RegisterConsts.RegisterZeroIndex)
|
||||
if (dest >= RegisterConsts.RegisterZeroIndex)
|
||||
{
|
||||
return Const(0);
|
||||
return null;
|
||||
}
|
||||
|
||||
return Register(dest++, RegisterType.Gpr);
|
||||
|
||||
Reference in New Issue
Block a user