diff options
| author | Liam <byteslice@airmail.cc> | 2024-02-23 22:38:21 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2024-02-26 11:16:14 -0500 |
| commit | d66ca8b73145c9e891415f11ce68125ff2b99b9b (patch) | |
| tree | 70c4d8b3e8aa80222940fe6e490d62bf42bc0443 /src/video_core/control/channel_state.h | |
| parent | f9bfdb15559c7ce447151162af61cc69efcbec01 (diff) | |
video_core: make gpu context aware of rendering program
Diffstat (limited to 'src/video_core/control/channel_state.h')
| -rw-r--r-- | src/video_core/control/channel_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/control/channel_state.h b/src/video_core/control/channel_state.h index 3a7b9872c..b385f4939 100644 --- a/src/video_core/control/channel_state.h +++ b/src/video_core/control/channel_state.h @@ -40,11 +40,12 @@ struct ChannelState { ChannelState(ChannelState&& other) noexcept = default; ChannelState& operator=(ChannelState&& other) noexcept = default; - void Init(Core::System& system, GPU& gpu); + void Init(Core::System& system, GPU& gpu, u64 program_id); void BindRasterizer(VideoCore::RasterizerInterface* rasterizer); s32 bind_id = -1; + u64 program_id = 0; /// 3D engine std::unique_ptr<Engines::Maxwell3D> maxwell_3d; /// 2D engine |
