aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/CodeGen/CodeGenParameters.cs
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2023-08-14 07:41:11 +0100
committerGitHub <noreply@github.com>2023-08-14 08:41:11 +0200
commit33f544fd9248361440afd6013e0ef9d69971d6da (patch)
tree31d7ebbc76182427e0eb9ebb8e7ed0b173a756f7 /src/Ryujinx.Graphics.Shader/CodeGen/CodeGenParameters.cs
parentb423197619dd8d9dda1c255a76105bf30e255dae (diff)
GPU: Track basic buffer copies that modify texture memory (#5554)1.1.986
This branch changes the buffer copy fast path to notify memory tracking for all resources that aren't buffers. This fixes cases where games would copy buffer data directly into texture memory, which before would only work if the texture did not already exist. I imagine this happens when the guest driver is moving data between allocations or uploading it. Since this only affects the fast path, cases where the source data has been modified from GPU (fast path copy destination doesn't count) will still fail to notify the texture, though I don't imagine games will do this. This should be resolved in future. This should fix some texture issues with guest OpenGL games on switch, such as Dragon Quest Builders. This may also be useful in future for games that move shader data around memory, if we end up using memory tracking for those.
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/CodeGen/CodeGenParameters.cs')
0 files changed, 0 insertions, 0 deletions