union magic refcnt as well
This commit is contained in:
@@ -188,6 +188,7 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
|
||||
case BufferMethods::SemaphoreAddressHigh:
|
||||
case BufferMethods::SemaphoreAddressLow:
|
||||
case BufferMethods::SemaphoreSequence:
|
||||
case BufferMethods::RefCnt:
|
||||
break;
|
||||
case BufferMethods::SemaphoreTrigger: {
|
||||
ProcessSemaphoreTriggerMethod();
|
||||
@@ -213,10 +214,6 @@ void GPU::CallPullerMethod(const MethodCall& method_call) {
|
||||
LOG_ERROR(HW_GPU, "Special puller engine method Unk2c not implemented");
|
||||
break;
|
||||
}
|
||||
case BufferMethods::RefCnt: {
|
||||
SetReferenceCount();
|
||||
break;
|
||||
}
|
||||
case BufferMethods::SemaphoreAcquire: {
|
||||
ProcessSemaphoreAcquire();
|
||||
break;
|
||||
@@ -339,9 +336,4 @@ void GPU::ProcessSemaphoreAcquire() {
|
||||
}
|
||||
}
|
||||
|
||||
void GPU::SetReferenceCount() {
|
||||
// TODO(kmather73) Wait for all previously submitted commands complete before setting.
|
||||
regs.reference_count = regs.reg_array[static_cast<u32>(BufferMethods::RefCnt)];
|
||||
}
|
||||
|
||||
} // namespace Tegra
|
||||
|
||||
@@ -209,8 +209,6 @@ private:
|
||||
void ProcessSemaphoreTriggerMethod();
|
||||
void ProcessSemaphoreRelease();
|
||||
void ProcessSemaphoreAcquire();
|
||||
void ProcessSetSemaphoreSequence();
|
||||
void SetReferenceCount();
|
||||
|
||||
// Calls a GPU puller method.
|
||||
void CallPullerMethod(const MethodCall& method_call);
|
||||
|
||||
Reference in New Issue
Block a user