diff options
| author | Stenzek <stenzek@gmail.com> | 2016-11-19 18:34:41 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2016-11-19 20:29:47 +1000 |
| commit | 6b88a854a791ad94d5b4a31b0dccfba99d514dd3 (patch) | |
| tree | f51bc08bc347d2d2a939e09b4bd2efd8df6c56ec /Source/Core/VideoBackends/Vulkan/TextureCache.cpp | |
| parent | 171bb147a8cfe76b3d138eafb8d47a19c4bc32d4 (diff) | |
Vulkan: Handle strided XFB copies
Where src_rect.width * 2 != dst_stride.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/TextureCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp index d99200b203..d52ba671db 100644 --- a/Source/Core/VideoBackends/Vulkan/TextureCache.cpp +++ b/Source/Core/VideoBackends/Vulkan/TextureCache.cpp @@ -888,7 +888,7 @@ void TextureCache::EncodeYUYVTextureToMemory(void* dst_ptr, u32 dst_width, u32 d m_rgb_to_yuyv_shader); VkRect2D region = {{0, 0}, {output_width, dst_height}}; draw.BeginRenderPass(m_texture_encoder->GetEncodingTextureFramebuffer(), region); - draw.SetPSSampler(0, src_texture->GetView(), g_object_cache->GetPointSampler()); + draw.SetPSSampler(0, src_texture->GetView(), g_object_cache->GetLinearSampler()); draw.DrawQuad(0, 0, static_cast<int>(output_width), static_cast<int>(dst_height), src_rect.left, src_rect.top, 0, src_rect.GetWidth(), src_rect.GetHeight(), static_cast<int>(src_texture->GetWidth()), |
