summaryrefslogblamecommitdiffstats
path: root/src/shader_recompiler/file_environment.h
blob: c294bc6faff7d7dd62858ae853c801a1194da205 (plain) (tree)




















                                                   
#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