diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-29 22:00:49 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-01-29 22:53:27 +0100 |
commit | 4258d515e69d5f2d40301a1d1592304c12fd8126 (patch) | |
tree | 7b9ac154bb75d9ea79e0425fda2ee3db587d6d2e /src/video_core/engines/engine_upload.h | |
parent | Inline2Memory: Flush before writting buffer. (diff) | |
download | yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar.gz yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar.bz2 yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar.lz yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar.xz yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.tar.zst yuzu-4258d515e69d5f2d40301a1d1592304c12fd8126.zip |
Diffstat (limited to 'src/video_core/engines/engine_upload.h')
-rw-r--r-- | src/video_core/engines/engine_upload.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.h index 1c7f1effa..c9c5ec8c3 100644 --- a/src/video_core/engines/engine_upload.h +++ b/src/video_core/engines/engine_upload.h @@ -12,6 +12,10 @@ namespace Tegra { class MemoryManager; } +namespace VideoCore { +class RasterizerInterface; +} + namespace Tegra::Engines::Upload { struct Registers { @@ -60,6 +64,9 @@ public: void ProcessExec(bool is_linear_); void ProcessData(u32 data, bool is_last_call); + /// Binds a rasterizer to this engine. + void BindRasterizer(VideoCore::RasterizerInterface* rasterizer); + private: u32 write_offset = 0; u32 copy_size = 0; @@ -68,6 +75,7 @@ private: bool is_linear = false; Registers& regs; MemoryManager& memory_manager; + VideoCore::RasterizerInterface* rasterizer = nullptr; }; } // namespace Tegra::Engines::Upload |