Fix storage buffer access when match fails (#4037)

* Fix storage buffer access when match fails

* Shader cache version bump
This commit is contained in:
gdkchan 2022-12-06 00:36:54 -03:00 committed by GitHub
parent 2fe29671cb
commit f010127b29
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ namespace Ryujinx.Graphics.Shader.Translation
sbSlot = PrependOperation(Instruction.ConditionalSelect, inRange, Const(slot), sbSlot);
}
if (sbUseMask != 0)
if (config.AccessibleStorageBuffersMask != 0)
{
Operand alignMask = Const(-config.GpuAccessor.QueryHostStorageBufferOffsetAlignment());