diff options
| author | Zephyron <zephyron@citron-emu.org> | 2025-02-02 15:22:45 +1000 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-05-11 14:54:45 +0100 |
| commit | a7036e7dd9e83c84de50625157d43b1388c30368 (patch) | |
| tree | a3ea1fa9187f788c6ce2d3c8013bd2d582b24107 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | fdeaf764fe20725dfc8df86dbb813a544f5c84ce (diff) | |
vulkan: Implement native MSAA resolve in texture cache
Implements hardware-accelerated MSAA resolve functionality in the Vulkan
texture cache instead of relying on compute shaders. This change:
- Adds proper MSAA to non-MSAA image copy support using VkResolveImage
- Creates temporary resolve images with appropriate memory allocation
- Handles format compatibility checks with proper fallback to compute
- Manages image layout transitions and memory barriers
- Preserves existing compute shader fallback for unsupported formats
The implementation follows Vulkan best practices for MSAA resolve
operations and should provide better performance for supported formats.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
