mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 07:57:58 -05:00
shader: Initial recompiler work
This commit is contained in:
21
src/shader_recompiler/file_environment.h
Normal file
21
src/shader_recompiler/file_environment.h
Normal file
@ -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
|
Reference in New Issue
Block a user