Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.

Subv91f05992e4b2
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 2eaece2988..d72d6f7600 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -36,7 +36,6 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params)
if (method == static_cast<u32>(BufferMethods::BindObject)) {
// Bind the current subchannel to the desired engine id.
NGLOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value);
- ASSERT(bound_engines.find(subchannel) == bound_engines.end());
bound_engines[subchannel] = static_cast<EngineID>(value);
return;
}