diff options
| author | Maufeat <sahyno1996@gmail.com> | 2025-08-13 01:42:56 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-08-13 01:42:56 +0200 |
| commit | 89d40c6302043c10a69a88cb9d20785cfe441efd (patch) | |
| tree | 56dd6d754d9158a6ea120b238072afba64e59e07 /src/video_core/renderer_vulkan/blit_image.cpp | |
| parent | 234e41193ef25bf96d52817a5d9255d31cfeff6e (diff) | |
[vk, texture_cache] MSAA ensure no more crash (#245)
> The shared_ptr<Image> capture ensures the temporary image outlives all queued GPU work (both the upload/download step and the MSAA compute copy). Without this, drivers read freed memory
> The temp image always has STORAGE & TRANSFER usage, matching what the compute MSAA path actually binds.
> Since this only a temp fix ontop of the previous commit, we only use the MSAA path for color; depth/stencil still use the original safe route.
> Should still be reworked though, as seen in the other MSAA commis that are open.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/245
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-authored-by: Maufeat <sahyno1996@gmail.com>
Co-committed-by: Maufeat <sahyno1996@gmail.com>
Diffstat (limited to 'src/video_core/renderer_vulkan/blit_image.cpp')
0 files changed, 0 insertions, 0 deletions
