summaryrefslogtreecommitdiffstats
path: root/src/video_core/control/channel_state.h
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-26 18:44:46 +0100
committerGitHub <noreply@github.com>2024-02-26 18:44:46 +0100
commitce62fa6f7b660614e28631f71dfa34e7487aec7f (patch)
treee8621bebad95bfd2d98147b125395f3545cb2627 /src/video_core/control/channel_state.h
parentMerge pull request #13164 from merryhime/reset-submodules (diff)
parentsettings: remove global override for smash on amdvlk (diff)
downloadyuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar.gz
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar.bz2
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar.lz
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar.xz
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.tar.zst
yuzu-ce62fa6f7b660614e28631f71dfa34e7487aec7f.zip
Diffstat (limited to 'src/video_core/control/channel_state.h')
-rw-r--r--src/video_core/control/channel_state.h3
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