mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 22:58:39 +00:00
renderer_vulkan: redundant VO surface registration removed
This commit is contained in:
parent
9982f1be6f
commit
5b909c659d
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ public:
|
||||||
|
|
||||||
Frame* PrepareFrame(const Libraries::VideoOut::BufferAttributeGroup& attribute,
|
Frame* PrepareFrame(const Libraries::VideoOut::BufferAttributeGroup& attribute,
|
||||||
VAddr cpu_address) {
|
VAddr cpu_address) {
|
||||||
auto& image = RegisterVideoOutSurface(attribute, cpu_address);
|
const auto info = VideoCore::ImageInfo{attribute};
|
||||||
|
auto& image = texture_cache.FindImage(info, cpu_address);
|
||||||
return PrepareFrameInternal(image);
|
return PrepareFrameInternal(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue