From 6574bbbbdac8991110e2956fc946a027a252e410 Mon Sep 17 00:00:00 2001 From: kmather73 Date: Fri, 28 Dec 2018 00:13:49 -0800 Subject: [PATCH] More union magic for setting regs value. --- src/video_core/gpu.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 217a78a059..31548883f5 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -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(BufferMethods::RefCnt)]; } -void GPU::ProcessSetSemaphoreSequence() { - regs.semaphore_sequence = regs.reg_array[static_cast(BufferMethods::SemaphoreSequence)]; -} - } // namespace Tegra