mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Move code to cpp (#9938)
* GL: move GLOverlays code to cpp * GL: move GLCompute code to cpp * VK: move VKOverlays code to cpp * VK: move VKCompute code to cpp
This commit is contained in:
parent
9cbe77904d
commit
cbd895a29c
19 changed files with 2578 additions and 2344 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue