mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-05 20:45:09 +01:00
Ensure blit src/dst textures are attached as execution cycle dependencies
Since they're not in the TIC pool they would otherwise be freed
This commit is contained in:
parent
77a131df60
commit
f6e4328b5a
@ -114,9 +114,11 @@ namespace skyline::gpu::interconnect {
|
||||
auto dstGuestTexture{GetGuestTexture(dstSurface)};
|
||||
|
||||
auto srcTextureView{gpu.texture.FindOrCreate(srcGuestTexture, executor.tag)};
|
||||
executor.AttachDependency(srcTextureView);
|
||||
executor.AttachTexture(srcTextureView.get());
|
||||
|
||||
auto dstTextureView{gpu.texture.FindOrCreate(dstGuestTexture, executor.tag)};
|
||||
executor.AttachDependency(dstTextureView);
|
||||
executor.AttachTexture(dstTextureView.get());
|
||||
|
||||
// Blit shader always samples from centre so adjust if necessary
|
||||
|
Loading…
Reference in New Issue
Block a user