|
|
@ -34,6 +34,8 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params)
|
|
|
|
"{:08X} remaining params {}",
|
|
|
|
"{:08X} remaining params {}",
|
|
|
|
method, subchannel, value, remaining_params);
|
|
|
|
method, subchannel, value, remaining_params);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ASSERT(subchannel < bound_engines.size());
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value);
|
|
|
|
LOG_DEBUG(HW_GPU, "Binding subchannel {} to engine {}", subchannel, value);
|
|
|
@ -47,8 +49,6 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ASSERT(bound_engines.find(subchannel) != bound_engines.end());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const EngineID engine = bound_engines[subchannel];
|
|
|
|
const EngineID engine = bound_engines[subchannel];
|
|
|
|
|
|
|
|
|
|
|
|
switch (engine) {
|
|
|
|
switch (engine) {
|
|
|
|