summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar Subv2018-05-24 17:32:46 -0500
committerGravatar Subv2018-05-24 17:32:46 -0500
commite2db7a83f6ae6a087a941e512d566f8ec60f8f8e (patch)
treed77a286e025749a8618b2b8588234c43f1e19d43 /src/video_core
parentMerge pull request #464 from bunnei/fix-msvc (diff)
downloadyuzu-e2db7a83f6ae6a087a941e512d566f8ec60f8f8e.tar.gz
yuzu-e2db7a83f6ae6a087a941e512d566f8ec60f8f8e.tar.xz
yuzu-e2db7a83f6ae6a087a941e512d566f8ec60f8f8e.zip
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/command_processor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 2eaece298..d72d6f760 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)
36 if (method == static_cast<u32>(BufferMethods::BindObject)) { 36 if (method == static_cast<u32>(BufferMethods::BindObject)) {
37 // Bind the current subchannel to the desired engine id. 37 // Bind the current subchannel to the desired engine id.
38 NGLOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value); 38 NGLOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value);
39 ASSERT(bound_engines.find(subchannel) == bound_engines.end());
40 bound_engines[subchannel] = static_cast<EngineID>(value); 39 bound_engines[subchannel] = static_cast<EngineID>(value);
41 return; 40 return;
42 } 41 }