[vk, texture_cache] MSAA ensure no more crash #245

Merged
crueter merged 1 commit from msaa_temp_ex into master 2025-08-13 01:42:57 +02:00
Member

The shared_ptr 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.

> 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.
MaranBr force-pushed msaa_temp_ex from e34a9f8738 to 0823ebba80 2025-08-12 21:56:09 +02:00 Compare
crueter approved these changes 2025-08-13 00:14:50 +02:00
crueter left a comment
Owner

Confirmed to fix a lot of games, incl. Engage and Jalen's games.

Confirmed to fix a lot of games, incl. Engage and Jalen's games.
Shinmegumi approved these changes 2025-08-13 01:09:29 +02:00
Shinmegumi left a comment
Owner

Approving to push for RC3.

Approving to push for RC3.
crueter merged commit 89d40c6302 into master 2025-08-13 01:42:57 +02:00
crueter deleted branch msaa_temp_ex 2025-08-13 01:42:57 +02:00
Sign in to join this conversation.
No description provided.