diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-09-02 20:42:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-02 20:42:42 +0200 |
commit | 76bddd3673fd960bfb7fd108b0120ae707dde306 (patch) | |
tree | dd38a2ab05cce71665e15ee7c063b69c90e59650 /src/video_core/engines/puller.cpp | |
parent | Merge pull request #11384 from liamwhite/am-shutdown (diff) | |
parent | VideoCore: Implement DispatchIndirect (diff) | |
download | yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar.gz yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar.bz2 yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar.lz yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar.xz yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.tar.zst yuzu-76bddd3673fd960bfb7fd108b0120ae707dde306.zip |
Diffstat (limited to 'src/video_core/engines/puller.cpp')
-rw-r--r-- | src/video_core/engines/puller.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/video_core/engines/puller.cpp b/src/video_core/engines/puller.cpp index 7718a09b3..6de2543b7 100644 --- a/src/video_core/engines/puller.cpp +++ b/src/video_core/engines/puller.cpp @@ -34,19 +34,24 @@ void Puller::ProcessBindMethod(const MethodCall& method_call) { bound_engines[method_call.subchannel] = engine_id; switch (engine_id) { case EngineID::FERMI_TWOD_A: - dma_pusher.BindSubchannel(channel_state.fermi_2d.get(), method_call.subchannel); + dma_pusher.BindSubchannel(channel_state.fermi_2d.get(), method_call.subchannel, + EngineTypes::Fermi2D); break; case EngineID::MAXWELL_B: - dma_pusher.BindSubchannel(channel_state.maxwell_3d.get(), method_call.subchannel); + dma_pusher.BindSubchannel(channel_state.maxwell_3d.get(), method_call.subchannel, + EngineTypes::Maxwell3D); break; case EngineID::KEPLER_COMPUTE_B: - dma_pusher.BindSubchannel(channel_state.kepler_compute.get(), method_call.subchannel); + dma_pusher.BindSubchannel(channel_state.kepler_compute.get(), method_call.subchannel, + EngineTypes::KeplerCompute); break; case EngineID::MAXWELL_DMA_COPY_A: - dma_pusher.BindSubchannel(channel_state.maxwell_dma.get(), method_call.subchannel); + dma_pusher.BindSubchannel(channel_state.maxwell_dma.get(), method_call.subchannel, + EngineTypes::MaxwellDMA); break; case EngineID::KEPLER_INLINE_TO_MEMORY_B: - dma_pusher.BindSubchannel(channel_state.kepler_memory.get(), method_call.subchannel); + dma_pusher.BindSubchannel(channel_state.kepler_memory.get(), method_call.subchannel, + EngineTypes::KeplerMemory); break; default: UNIMPLEMENTED_MSG("Unimplemented engine {:04X}", engine_id); |