vk_texture_cache: Implement generic texture cache on Vulkan

It currently ignores PBO linearizations since these should be dropped as
soon as possible on OpenGL.
This commit is contained in:
ReinUsesLisp
2020-01-13 20:36:03 -03:00
parent 2b2712fa95
commit 09e17fbb0f
4 changed files with 733 additions and 1 deletions

View File

@ -190,8 +190,11 @@ if (ENABLE_VULKAN)
renderer_vulkan/vk_stream_buffer.h
renderer_vulkan/vk_swapchain.cpp
renderer_vulkan/vk_swapchain.h
renderer_vulkan/vk_texture_cache.cpp
renderer_vulkan/vk_texture_cache.h
renderer_vulkan/vk_update_descriptor.cpp
renderer_vulkan/vk_update_descriptor.h)
renderer_vulkan/vk_update_descriptor.h
)
target_include_directories(video_core PRIVATE sirit ../../externals/Vulkan-Headers/include)
target_compile_definitions(video_core PRIVATE HAS_VULKAN)