yuzu/src/shader_recompiler/file_environment.h
2021-07-22 21:51:22 -04:00

23 lines
412 B
C++

#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