summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/image_info.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2023-03-05 15:30:47 +0100
committerGitHub <noreply@github.com>2023-03-05 15:30:47 +0100
commitfdae95efaa84fe1baeab0b4dd1435720cae0f88d (patch)
tree383070bd0d4a33189f38423ceea9a5692d38ba09 /src/video_core/texture_cache/image_info.h
parentMerge pull request #9884 from liamwhite/service-cleanup (diff)
parentEngines: Implement Accelerate DMA Texture. (diff)
downloadyuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar.gz
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar.bz2
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar.lz
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar.xz
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.tar.zst
yuzu-fdae95efaa84fe1baeab0b4dd1435720cae0f88d.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/texture_cache/image_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_info.h b/src/video_core/texture_cache/image_info.h
index 93755e15e..a12f5b44f 100644
--- a/src/video_core/texture_cache/image_info.h
+++ b/src/video_core/texture_cache/image_info.h
@@ -5,6 +5,7 @@
#include "video_core/engines/fermi_2d.h"
#include "video_core/engines/maxwell_3d.h"
+#include "video_core/engines/maxwell_dma.h"
#include "video_core/surface.h"
#include "video_core/texture_cache/types.h"
@@ -19,6 +20,7 @@ struct ImageInfo {
explicit ImageInfo(const Tegra::Engines::Maxwell3D::Regs& regs, size_t index) noexcept;
explicit ImageInfo(const Tegra::Engines::Maxwell3D::Regs& regs) noexcept;
explicit ImageInfo(const Tegra::Engines::Fermi2D::Surface& config) noexcept;
+ explicit ImageInfo(const Tegra::DMA::ImageOperand& config) noexcept;
PixelFormat format = PixelFormat::Invalid;
ImageType type = ImageType::e1D;