diff options
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/environment.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h new file mode 100644 index 000000000..f6230e817 --- /dev/null +++ b/src/shader_recompiler/environment.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "common/common_types.h" | ||
| 4 | |||
| 5 | namespace Shader { | ||
| 6 | |||
| 7 | class Environment { | ||
| 8 | public: | ||
| 9 | virtual ~Environment() = default; | ||
| 10 | |||
| 11 | [[nodiscard]] virtual u64 ReadInstruction(u32 address) const = 0; | ||
| 12 | }; | ||
| 13 | |||
| 14 | } // namespace Shader | ||