mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
0bb85f6a75
Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
26 lines
476 B
C++
26 lines
476 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "common/common_types.h"
|
|
#include "shader_recompiler/environment.h"
|
|
|
|
namespace Shader {
|
|
|
|
class FileEnvironment : 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
|