summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/environment.h')
-rw-r--r--src/shader_recompiler/environment.h14
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
5namespace Shader {
6
7class Environment {
8public:
9 virtual ~Environment() = default;
10
11 [[nodiscard]] virtual u64 ReadInstruction(u32 address) const = 0;
12};
13
14} // namespace Shader