From 2d48a7b4d0666ad16d03a22d85712617a0849046 Mon Sep 17 00:00:00 2001
From: ReinUsesLisp <reinuseslisp@airmail.cc>
Date: Sat, 9 Jan 2021 03:30:07 -0300
Subject: shader: Initial recompiler work

---
 src/shader_recompiler/file_environment.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 src/shader_recompiler/file_environment.h

(limited to 'src/shader_recompiler/file_environment.h')

diff --git a/src/shader_recompiler/file_environment.h b/src/shader_recompiler/file_environment.h
new file mode 100644
index 0000000000..c294bc6faf
--- /dev/null
+++ b/src/shader_recompiler/file_environment.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <vector>
+
+#include "common/common_types.h"
+#include "environment.h"
+
+namespace Shader {
+
+class FileEnvironment final : public Environment {
+public:
+    explicit FileEnvironment(const char* path);
+    ~FileEnvironment() override;
+
+    u64 ReadInstruction(u32 offset) const override;
+
+private:
+    std::vector<u64> data;
+};
+
+} // namespace Shader
-- 
cgit v1.2.3-70-g09d2