mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 16:46:10 +00:00
Fix resolution scaling of image operation coordinates (#5102)
* Fix resolution scaling of image operation coordinates * Shader cache version bump
This commit is contained in:
parent
5b42a4d2c4
commit
e6658c133c
|
@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
|
|||
private const ushort FileFormatVersionMajor = 1;
|
||||
private const ushort FileFormatVersionMinor = 2;
|
||||
private const uint FileFormatVersionPacked = ((uint)FileFormatVersionMajor << 16) | FileFormatVersionMinor;
|
||||
private const uint CodeGenVersion = 4714;
|
||||
private const uint CodeGenVersion = 5102;
|
||||
|
||||
private const string SharedTocFileName = "shared.toc";
|
||||
private const string SharedDataFileName = "shared.data";
|
||||
|
|
|
@ -366,7 +366,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
|||
bool isImage = IsImageInstructionWithScale(texOp.Inst);
|
||||
|
||||
if ((texOp.Inst == Instruction.TextureSample || isImage) &&
|
||||
intCoords &&
|
||||
(intCoords || isImage) &&
|
||||
!isBindless &&
|
||||
!isIndexed &&
|
||||
config.Stage.SupportsRenderScale() &&
|
||||
|
|
Loading…
Reference in a new issue