diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/texture_cache/image_info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/image_info.cpp b/src/video_core/texture_cache/image_info.cpp index 7fa8fd4fe..bdf306bf9 100644 --- a/src/video_core/texture_cache/image_info.cpp +++ b/src/video_core/texture_cache/image_info.cpp | |||
| @@ -101,7 +101,7 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept { | |||
| 101 | // FIXME: Call this without passing *this | 101 | // FIXME: Call this without passing *this |
| 102 | layer_stride = CalculateLayerStride(*this); | 102 | layer_stride = CalculateLayerStride(*this); |
| 103 | maybe_unaligned_layer_stride = CalculateLayerSize(*this); | 103 | maybe_unaligned_layer_stride = CalculateLayerSize(*this); |
| 104 | rescaleable &= (block.depth == 0) && resources.levels == 1; | 104 | rescaleable &= (block.depth == 0) && resources.levels == 1 && num_samples == 1; |
| 105 | } | 105 | } |
| 106 | } | 106 | } |
| 107 | 107 | ||
| @@ -134,7 +134,7 @@ ImageInfo::ImageInfo(const Tegra::Engines::Maxwell3D::Regs& regs, size_t index) | |||
| 134 | type = ImageType::e3D; | 134 | type = ImageType::e3D; |
| 135 | size.depth = rt.depth; | 135 | size.depth = rt.depth; |
| 136 | } else { | 136 | } else { |
| 137 | rescaleable = block.depth == 0 && size.height > 256; | 137 | rescaleable = block.depth == 0 && size.height > 256 && num_samples == 1; |
| 138 | type = ImageType::e2D; | 138 | type = ImageType::e2D; |
| 139 | resources.layers = rt.depth; | 139 | resources.layers = rt.depth; |
| 140 | } | 140 | } |