From e90c0a41a6ee6a63cb8d4cedeceabecb8639ce62 Mon Sep 17 00:00:00 2001 From: kmather73 Date: Sun, 16 Dec 2018 23:21:50 -0800 Subject: [PATCH] Fix the clang-format issues. --- src/video_core/gpu.cpp | 10 +++++----- src/video_core/gpu.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 67b28655a5..0a26650db5 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -165,8 +165,7 @@ void GPU::CallMethod(const MethodCall& method_call) { if (ExecuteMethodOnEngine(method_call)) { CallEngineMethod(method_call); - } - else { + } else { CallPullerMethod(method_call); } } @@ -242,7 +241,7 @@ void GPU::CallPullerMethod(const MethodCall& method_call) { } default: LOG_ERROR(HW_GPU, "Special puller engine method {:X} not implemented", - static_cast(method)); + static_cast(method)); break; } } @@ -306,7 +305,8 @@ void GPU::ProcessSemaphoreTriggerMethod() { pullerState.acquire_active = true; pullerState.acquire_mode = true; } else if (op == GpuSemaphoreOperation::AcquireMask) { - // TODO(kemathe) The acquire mask operation waits for a value that, ANDed with semaphore_sequence, gives a non-0 result + // TODO(kemathe) The acquire mask operation waits for a value that, ANDed with + // semaphore_sequence, gives a non-0 result LOG_ERROR(HW_GPU, "Invalid semaphore operation AcquireMask not implemented"); } else { LOG_ERROR(HW_GPU, "Invalid semaphore operation"); @@ -334,7 +334,7 @@ void GPU::ProcessSemaphoreAcquire() { if (word != value) { pullerState.acquire_active = true; pullerState.acquire_value = value; - //TODO(kemathe73) figure out how to do the acquire_timeout + // TODO(kemathe73) figure out how to do the acquire_timeout pullerState.acquire_mode = false; pullerState.acquire_source = false; } diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 72e3bd4944..34d5d46fdc 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -203,7 +203,7 @@ private: u32 semaphore_sequence; bool acquire_mode; bool acquire_source; - } pullerState {}; + } pullerState{};