diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2021-01-04 06:22:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 06:22:02 +0100 |
commit | 4801f4250d7b3eab0acd22c022a547af5860a6da (patch) | |
tree | 0ca01c277a2c0a91ff0f439ab6a0d6e1bc482357 /src/video_core/renderer_vulkan/blit_image.cpp | |
parent | Merge pull request #5285 from lioncash/error-str (diff) | |
parent | renderer_vulkan: Rename VKDevice to Device (diff) | |
download | yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar.gz yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar.bz2 yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar.lz yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar.xz yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.tar.zst yuzu-4801f4250d7b3eab0acd22c022a547af5860a6da.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/blit_image.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/blit_image.cpp b/src/video_core/renderer_vulkan/blit_image.cpp index 504492cac..b412cdb7f 100644 --- a/src/video_core/renderer_vulkan/blit_image.cpp +++ b/src/video_core/renderer_vulkan/blit_image.cpp @@ -225,7 +225,7 @@ constexpr std::array<VkPipelineShaderStageCreateInfo, 2> MakeStages( }; } -void UpdateOneTextureDescriptorSet(const VKDevice& device, VkDescriptorSet descriptor_set, +void UpdateOneTextureDescriptorSet(const Device& device, VkDescriptorSet descriptor_set, VkSampler sampler, VkImageView image_view) { const VkDescriptorImageInfo image_info{ .sampler = sampler, @@ -247,7 +247,7 @@ void UpdateOneTextureDescriptorSet(const VKDevice& device, VkDescriptorSet descr device.GetLogical().UpdateDescriptorSets(write_descriptor_set, nullptr); } -void UpdateTwoTexturesDescriptorSet(const VKDevice& device, VkDescriptorSet descriptor_set, +void UpdateTwoTexturesDescriptorSet(const Device& device, VkDescriptorSet descriptor_set, VkSampler sampler, VkImageView image_view_0, VkImageView image_view_1) { const VkDescriptorImageInfo image_info_0{ @@ -326,7 +326,7 @@ void BindBlitState(vk::CommandBuffer cmdbuf, VkPipelineLayout layout, } // Anonymous namespace -BlitImageHelper::BlitImageHelper(const VKDevice& device_, VKScheduler& scheduler_, +BlitImageHelper::BlitImageHelper(const Device& device_, VKScheduler& scheduler_, StateTracker& state_tracker_, VKDescriptorPool& descriptor_pool) : device{device_}, scheduler{scheduler_}, state_tracker{state_tracker_}, one_texture_set_layout(device.GetLogical().CreateDescriptorSetLayout( |