Browse Source
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.
pull/15/merge
bunnei
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
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)) { |
|
|
if (method == static_cast<u32>(BufferMethods::BindObject)) { |
|
|
// Bind the current subchannel to the desired engine id.
|
|
|
// Bind the current subchannel to the desired engine id.
|
|
|
NGLOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value); |
|
|
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); |
|
|
bound_engines[subchannel] = static_cast<EngineID>(value); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|