Use Draw2D for depal shaders (except the actual blit, for now)

This commit is contained in:
Henrik Rydgård committed 2022-08-23 11:21:40 +02:00
1 parent 60e129d88e
commit 5084743bbb
23 files changed
+71 -132

No files matched your search

+2 -2
View File
@@ -184,8 +184,8 @@ std::vector<std::string> SamplerCache::DebugGetSamplerIDs() const {
return ids;
}
TextureCacheVulkan::TextureCacheVulkan(Draw::DrawContext *draw, VulkanContext *vulkan)
: TextureCacheCommon(draw),
TextureCacheVulkan::TextureCacheVulkan(Draw::DrawContext *draw, Draw2D *draw2D, VulkanContext *vulkan)
: TextureCacheCommon(draw, draw2D),
computeShaderManager_(vulkan),
samplerCache_(vulkan) {
DeviceRestore(draw);