blob: 17640a62298570e24ae10c38a4275b7abd990a14 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#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
|