mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 05:28:07 -05:00
shader: Split profile and runtime information in separate structs
This commit is contained in:
@ -103,7 +103,8 @@ struct GenericElementInfo {
|
||||
|
||||
class EmitContext final : public Sirit::Module {
|
||||
public:
|
||||
explicit EmitContext(const Profile& profile, IR::Program& program, Bindings& binding);
|
||||
explicit EmitContext(const Profile& profile, const RuntimeInfo& runtime_info,
|
||||
IR::Program& program, Bindings& binding);
|
||||
~EmitContext();
|
||||
|
||||
[[nodiscard]] Id Def(const IR::Value& value);
|
||||
@ -150,6 +151,7 @@ public:
|
||||
}
|
||||
|
||||
const Profile& profile;
|
||||
const RuntimeInfo& runtime_info;
|
||||
Stage stage{};
|
||||
|
||||
Id void_id{};
|
||||
|
Reference in New Issue
Block a user