aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache/image_info.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-03-27 05:05:57 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2023-03-05 12:18:00 +0100
commit82f37192ece465db85da8576fd669809d63a4e05 (patch)
tree383070bd0d4a33189f38423ceea9a5692d38ba09 /src/video_core/texture_cache/image_info.h
parent7f06f210467b4ebb6f1e98125f92e07a0725933b (diff)
Engines: Implement Accelerate DMA Texture.
Diffstat (limited to 'src/video_core/texture_cache/image_info.h')
-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 93755e15e7..a12f5b44f0 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;