diff options
| author | 2023-06-29 17:23:29 +0200 | |
|---|---|---|
| committer | 2023-06-29 17:23:29 +0200 | |
| commit | 596a6132b974dd73935854d8f51842424e058be8 (patch) | |
| tree | e59e0f17eeae352b1ada7ba4b9a326d16fc08572 /src | |
| parent | Merge pull request #10837 from liamwhite/mali-support (diff) | |
| download | yuzu-596a6132b974dd73935854d8f51842424e058be8.tar.gz yuzu-596a6132b974dd73935854d8f51842424e058be8.tar.xz yuzu-596a6132b974dd73935854d8f51842424e058be8.zip | |
AccelerateDMA: Don't accelerate 3D texture DMA operations
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/texture_cache/texture_cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h index d3f03a995..0330415b7 100644 --- a/src/video_core/texture_cache/texture_cache.h +++ b/src/video_core/texture_cache/texture_cache.h | |||
| @@ -879,6 +879,10 @@ ImageId TextureCache<P>::DmaImageId(const Tegra::DMA::ImageOperand& operand, boo | |||
| 879 | return NULL_IMAGE_ID; | 879 | return NULL_IMAGE_ID; |
| 880 | } | 880 | } |
| 881 | auto& image = slot_images[image_id]; | 881 | auto& image = slot_images[image_id]; |
| 882 | if (image.info.type == ImageType::e3D) { | ||
| 883 | // Don't accelerate 3D images. | ||
| 884 | return NULL_IMAGE_ID; | ||
| 885 | } | ||
| 882 | if (!is_upload && !image.info.dma_downloaded) { | 886 | if (!is_upload && !image.info.dma_downloaded) { |
| 883 | // Force a full sync. | 887 | // Force a full sync. |
| 884 | image.info.dma_downloaded = true; | 888 | image.info.dma_downloaded = true; |