diff options
Diffstat (limited to 'src/video_core/engines/engine_upload.h')
-rw-r--r-- | src/video_core/engines/engine_upload.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.h index 431f56030..9c6e0d21c 100644 --- a/src/video_core/engines/engine_upload.h +++ b/src/video_core/engines/engine_upload.h @@ -16,7 +16,7 @@ class MemoryManager; namespace Tegra::Engines::Upload { -struct Data { +struct Registers { u32 line_length_in; u32 line_count; @@ -56,7 +56,7 @@ struct Data { class State { public: - State(MemoryManager& memory_manager, Data& regs); + State(MemoryManager& memory_manager, Registers& regs); ~State() = default; void ProcessExec(const bool is_linear); @@ -66,8 +66,9 @@ private: u32 write_offset = 0; u32 copy_size = 0; std::vector<u8> inner_buffer; - bool is_linear; - Data& regs; + std::vector<u8> tmp_buffer; + bool is_linear = false; + Registers& regs; MemoryManager& memory_manager; }; |