summaryrefslogblamecommitdiffstats
path: root/src/shader_recompiler/file_environment.h
blob: b8c4bbadd98fcb85b181dde19e0ea3c437b94827 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                  


                                                





                          
#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) override;

    std::array<u32, 3> WorkgroupSize() override;

private:
    std::vector<u64> data;
};

} // namespace Shader