mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-11 20:54:57 +00:00
25 lines
482 B
C++
25 lines
482 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "common/common_types.h"
|
|
#include "shader_recompiler/environment.h"
|
|
|
|
namespace Shader {
|
|
|
|
class FileEnvironment final : public Environment {
|
|
public:
|
|
explicit FileEnvironment(const char* path);
|
|
~FileEnvironment() override;
|
|
|
|
u64 ReadInstruction(u32 offset) override;
|
|
|
|
u32 TextureBoundBuffer() const override;
|
|
|
|
std::array<u32, 3> WorkgroupSize() const override;
|
|
|
|
private:
|
|
std::vector<u64> data;
|
|
};
|
|
|
|
} // namespace Shader
|