More union magic for setting regs value.
This commit is contained in:
@@ -187,11 +187,8 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
|
||||
case BufferMethods::Nop:
|
||||
case BufferMethods::SemaphoreAddressHigh:
|
||||
case BufferMethods::SemaphoreAddressLow:
|
||||
case BufferMethods::SemaphoreSequence:
|
||||
break;
|
||||
case BufferMethods::SemaphoreSequence: {
|
||||
ProcessSetSemaphoreSequence();
|
||||
break;
|
||||
}
|
||||
case BufferMethods::SemaphoreTrigger: {
|
||||
ProcessSemaphoreTriggerMethod();
|
||||
break;
|
||||
@@ -347,8 +344,4 @@ void GPU::SetReferenceCount() {
|
||||
regs.reference_count = regs.reg_array[static_cast<u32>(BufferMethods::RefCnt)];
|
||||
}
|
||||
|
||||
void GPU::ProcessSetSemaphoreSequence() {
|
||||
regs.semaphore_sequence = regs.reg_array[static_cast<u32>(BufferMethods::SemaphoreSequence)];
|
||||
}
|
||||
|
||||
} // namespace Tegra
|
||||
|
||||
Reference in New Issue
Block a user