mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #414] [MERGED] video_core: Crucial buffer cache fixes + proper GPU clears #1548
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1548
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/414
Author: @raphaelthegreat
Created: 8/12/2024
Status: ✅ Merged
Merged: 8/13/2024
Merged by: @raphaelthegreat
Base:
main← Head:buffer-fixes📝 Commits (10+)
0bac6e8translator: Use templates for stronger type guarantees594606cspirv: Define buffer offsets upfrontb8084d3buffer_cache: Use dynamic vertex input when available6ef31efexternals: Update boost27e9026spirv: Use runtime array for ssbosceb7e30fs: Lock when doing case insensitive search52057b4texture_cache: More precise invalidation from compute121d850texture_cache: Use hashes for protect gpu modified images from reupload8d4a92atranslator: Treat V_CNDMASK as float7243b08translator: Small optimization for V_SAD_U32📊 Changes
23 files changed (+326 additions, -300 deletions)
View changed files
📝
externals/ext-boost(+1 -1)📝
src/core/file_sys/fs.cpp(+1 -0)📝
src/core/libraries/kernel/threads/semaphore.cpp(+0 -3)📝
src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp(+1 -14)📝
src/shader_recompiler/backend/spirv/emit_spirv_special.cpp(+3 -1)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp(+16 -10)📝
src/shader_recompiler/backend/spirv/spirv_emit_context.h(+3 -2)📝
src/shader_recompiler/frontend/translate/translate.cpp(+93 -144)📝
src/shader_recompiler/frontend/translate/translate.h(+4 -4)📝
src/shader_recompiler/frontend/translate/vector_alu.cpp(+69 -78)📝
src/video_core/buffer_cache/buffer_cache.cpp(+41 -0)📝
src/video_core/buffer_cache/buffer_cache.h(+6 -0)📝
src/video_core/renderer_vulkan/renderer_vulkan.h(+2 -2)📝
src/video_core/renderer_vulkan/vk_compute_pipeline.cpp(+2 -3)📝
src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp(+3 -0)📝
src/video_core/renderer_vulkan/vk_instance.cpp(+7 -2)📝
src/video_core/renderer_vulkan/vk_instance.h(+6 -0)📝
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp(+4 -0)📝
src/video_core/texture_cache/image.cpp(+1 -0)📝
src/video_core/texture_cache/image.h(+1 -0)...and 3 more files
📄 Description
Cherry-pick from https://github.com/shadps4-emu/shadPS4/pull/370 mostly.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.