mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #139] [MERGED] renderer_vulkan: state tracking for Image resources #1330
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#1330
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/139
Author: @psucien
Created: 5/17/2024
Status: ✅ Merged
Merged: 5/17/2024
Merged by: @psucien
Base:
main← Head:render_vk/img_state_trk📝 Commits (1)
85704e2renderer_vulkan: state tracking forImageresources📊 Changes
4 files changed (+60 additions, -71 deletions)
View changed files
📝
src/video_core/renderer_vulkan/renderer_vulkan.cpp(+14 -25)📝
src/video_core/texture_cache/image.cpp(+33 -19)📝
src/video_core/texture_cache/image.h(+8 -1)📝
src/video_core/texture_cache/texture_cache.cpp(+5 -26)📄 Description
This PR adds functionality to track previous layout, access mask and PL stage for a Vulkan image. So instead of specifying barriers, we can do a simple
Transit()call to change the resource state to desired.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.