diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 31548883f5..8fc2862e84 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -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(BufferMethods::RefCnt)]; -} - } // namespace Tegra diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index d9cdb2946a..d277a3f9df 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -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);