diff options
| author | 2021-11-22 00:06:56 +0100 | |
|---|---|---|
| committer | 2021-11-22 00:06:56 +0100 | |
| commit | 0902119302653d330e1ae7b90181cf58d3da368a (patch) | |
| tree | 15a58a639b7dc3166b47b548e78a1b1ad80933ab /src | |
| parent | TextureCache: Simplify blitting of D24S8 formats and fix bugs. (diff) | |
| download | yuzu-0902119302653d330e1ae7b90181cf58d3da368a.tar.gz yuzu-0902119302653d330e1ae7b90181cf58d3da368a.tar.xz yuzu-0902119302653d330e1ae7b90181cf58d3da368a.zip | |
Texture Cache: Always copy on NVIDIA.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index ef8ae6cb6..51246d46f 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp | |||
| @@ -779,6 +779,11 @@ bool TextureCacheRuntime::ShouldReinterpret(Image& dst, Image& src) { | |||
| 779 | !device.IsExtShaderStencilExportSupported()) { | 779 | !device.IsExtShaderStencilExportSupported()) { |
| 780 | return true; | 780 | return true; |
| 781 | } | 781 | } |
| 782 | if (VideoCore::Surface::GetFormatType(src.info.format) == | ||
| 783 | VideoCore::Surface::SurfaceType::DepthStencil && | ||
| 784 | !device.IsExtShaderStencilExportSupported()) { | ||
| 785 | return true; | ||
| 786 | } | ||
| 782 | if (dst.info.format == PixelFormat::D32_FLOAT_S8_UINT || | 787 | if (dst.info.format == PixelFormat::D32_FLOAT_S8_UINT || |
| 783 | src.info.format == PixelFormat::D32_FLOAT_S8_UINT) { | 788 | src.info.format == PixelFormat::D32_FLOAT_S8_UINT) { |
| 784 | return true; | 789 | return true; |