diff options
| author | 2018-05-25 22:27:58 -0400 | |
|---|---|---|
| committer | 2018-05-25 22:27:58 -0400 | |
| commit | cd7665218d06bc95918e3ce487a625916d523135 (patch) | |
| tree | c451d36a7de91e84b4c457b07cfe9b16198ad494 /src | |
| parent | Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE (#463) (diff) | |
| parent | GPU: Allow command lists to rebind a channel to another engine in the middle ... (diff) | |
| download | yuzu-cd7665218d06bc95918e3ce487a625916d523135.tar.gz yuzu-cd7665218d06bc95918e3ce487a625916d523135.tar.xz yuzu-cd7665218d06bc95918e3ce487a625916d523135.zip | |
Merge pull request #469 from Subv/channel_rebind
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/command_processor.cpp | 1 |
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 | } |