diff options
| author | bunnei <bunneidev@gmail.com> | 2018-02-12 13:51:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-12 13:51:52 -0500 |
| commit | be5ba4d95215217930e57976386adff6de79322f (patch) | |
| tree | 299b1096450b0284a489900280a28819aa4fb349 /src/video_core/engines/maxwell_compute.h | |
| parent | 890e98a33e4afa3d7374c7951ee2bde7cc8849c5 (diff) | |
| parent | 6cddf9d88e7fc49919fda92bcd4235797c56f07f (diff) | |
Merge pull request #178 from Subv/command_buffers
GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines
Diffstat (limited to 'src/video_core/engines/maxwell_compute.h')
| -rw-r--r-- | src/video_core/engines/maxwell_compute.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_compute.h b/src/video_core/engines/maxwell_compute.h new file mode 100644 index 000000000..7262e1bcb --- /dev/null +++ b/src/video_core/engines/maxwell_compute.h @@ -0,0 +1,22 @@ +// Copyright 2018 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "common/common_types.h" + +namespace Tegra { +namespace Engines { + +class MaxwellCompute final { +public: + MaxwellCompute() = default; + ~MaxwellCompute() = default; + + /// Write the value to the register identified by method. + void WriteReg(u32 method, u32 value); +}; + +} // namespace Engines +} // namespace Tegra |
