2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/shader_recompiler/file_environment.h

26 lines
476 B
C++
Raw Normal View History

2021-01-09 06:30:07 +00:00
#pragma once
#include <vector>
#include "common/common_types.h"
#include "shader_recompiler/environment.h"
2021-01-09 06:30:07 +00:00
namespace Shader {
class FileEnvironment : public Environment {
2021-01-09 06:30:07 +00:00
public:
explicit FileEnvironment(const char* path);
~FileEnvironment() override;
2021-02-17 03:59:28 +00:00
u64 ReadInstruction(u32 offset) override;
2021-03-23 00:03:20 +00:00
u32 TextureBoundBuffer() const override;
2021-03-23 00:03:20 +00:00
std::array<u32, 3> WorkgroupSize() const override;
2021-01-09 06:30:07 +00:00
private:
std::vector<u64> data;
};
} // namespace Shader