Skip to content
Snippets Groups Projects
Commit 596a6132 authored by Fernando Sahmkow's avatar Fernando Sahmkow
Browse files

AccelerateDMA: Don't accelerate 3D texture DMA operations

parent b60b70e8
No related branches found
No related tags found
No related merge requests found
......@@ -879,6 +879,10 @@ ImageId TextureCache<P>::DmaImageId(const Tegra::DMA::ImageOperand& operand, boo
return NULL_IMAGE_ID;
}
auto& image = slot_images[image_id];
if (image.info.type == ImageType::e3D) {
// Don't accelerate 3D images.
return NULL_IMAGE_ID;
}
if (!is_upload && !image.info.dma_downloaded) {
// Force a full sync.
image.info.dma_downloaded = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment