aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.h
diff options
context:
space:
mode:
authorgivethesourceplox <272928635+givethesourceplox@users.noreply.github.com>2026-10-30 09:45:53 -0300
committerkraibse <33869366+kraibse@users.noreply.github.com>2026-10-30 17:48:04 +0100
commitea33ad1865970ee731e5f74dbcc26ca472798afe (patch)
treef73345d1d273bcbab8dfbd708a459b8ba6afee0b /src/video_core/buffer_cache/buffer_cache.h
parent6f5e137ec4eb83bbff9ea15f1ad1a8407cfc0cba (diff)
vulkan: write the driver pipeline cache atomically; reject truncated ones
The emulator stopped while saving vulkan_pipelines.bin left it empty, and every later boot terminated: the header read throws ios_base::failure, and macOS's libc++ throws one the handler's type doesn't match. Write the cache to a temporary file and rename it over the old one, and treat a file shorter than its header as invalid without reading it. Assisted-by: Claude (Anthropic)
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions