Skip to content

Commit

Permalink
VK: move VKOverlays code to cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed Mar 9, 2021
1 parent 8bc59b8 commit 2398120
Show file tree
Hide file tree
Showing 8 changed files with 1,133 additions and 1,014 deletions.
1 change: 1 addition & 0 deletions rpcs3/Emu/CMakeLists.txt
Expand Up @@ -471,6 +471,7 @@ if(TARGET 3rdparty_vulkan)
RSX/VK/VKGSRender.cpp
RSX/VK/VKHelpers.cpp
RSX/VK/VKMemAlloc.cpp
RSX/VK/VKOverlays.cpp
RSX/VK/VKPipelineCompiler.cpp
RSX/VK/VKPresent.cpp
RSX/VK/VKProgramPipeline.cpp
Expand Down
2 changes: 1 addition & 1 deletion rpcs3/Emu/RSX/VK/VKFramebuffer.cpp
Expand Up @@ -10,7 +10,7 @@ namespace vk
{
std::unordered_map<u64, std::vector<std::unique_ptr<vk::framebuffer_holder>>> g_framebuffers_cache;

vk::framebuffer_holder *get_framebuffer(VkDevice dev, u16 width, u16 height, VkRenderPass renderpass, const std::vector<vk::image*>& image_list)
vk::framebuffer_holder* get_framebuffer(VkDevice dev, u16 width, u16 height, VkRenderPass renderpass, const std::vector<vk::image*>& image_list)
{
u64 key = u64(width) | (u64(height) << 16);
auto &queue = g_framebuffers_cache[key];
Expand Down

0 comments on commit 2398120

Please sign in to comment.