summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-04-20 13:42:14 -0400
committerGravatar Fernando Sahmkow2020-04-23 08:52:58 -0400
commit5c9feaebb6bfa34bb275ffa59ca823003de20422 (patch)
tree392bfbd6cc096d4f8dded3b6feeb80b709e984c8 /src/video_core/engines
parentGPU: Add Fast GPU Time Option. (diff)
downloadyuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.gz
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.tar.xz
yuzu-5c9feaebb6bfa34bb275ffa59ca823003de20422.zip
Clang Format.
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/kepler_compute.cpp3
-rw-r--r--src/video_core/engines/kepler_memory.cpp3
-rw-r--r--src/video_core/engines/maxwell_dma.cpp3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cpp
index 894300f57..00a12175f 100644
--- a/src/video_core/engines/kepler_compute.cpp
+++ b/src/video_core/engines/kepler_compute.cpp
@@ -51,7 +51,8 @@ void KeplerCompute::CallMethod(const GPU::MethodCall& method_call) {
51 } 51 }
52} 52}
53 53
54void KeplerCompute::CallMultiMethod(u32 method, const u32* base_start, u32 amount, u32 methods_pending) { 54void KeplerCompute::CallMultiMethod(u32 method, const u32* base_start, u32 amount,
55 u32 methods_pending) {
55 for (std::size_t i = 0; i < amount; i++) { 56 for (std::size_t i = 0; i < amount; i++) {
56 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)}); 57 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)});
57 } 58 }
diff --git a/src/video_core/engines/kepler_memory.cpp b/src/video_core/engines/kepler_memory.cpp
index e906a1124..586ff15dc 100644
--- a/src/video_core/engines/kepler_memory.cpp
+++ b/src/video_core/engines/kepler_memory.cpp
@@ -41,7 +41,8 @@ void KeplerMemory::CallMethod(const GPU::MethodCall& method_call) {
41 } 41 }
42} 42}
43 43
44void KeplerMemory::CallMultiMethod(u32 method, const u32* base_start, u32 amount, u32 methods_pending) { 44void KeplerMemory::CallMultiMethod(u32 method, const u32* base_start, u32 amount,
45 u32 methods_pending) {
45 for (std::size_t i = 0; i < amount; i++) { 46 for (std::size_t i = 0; i < amount; i++) {
46 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)}); 47 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)});
47 } 48 }
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp
index 51e606a10..6630005b0 100644
--- a/src/video_core/engines/maxwell_dma.cpp
+++ b/src/video_core/engines/maxwell_dma.cpp
@@ -36,7 +36,8 @@ void MaxwellDMA::CallMethod(const GPU::MethodCall& method_call) {
36#undef MAXWELLDMA_REG_INDEX 36#undef MAXWELLDMA_REG_INDEX
37} 37}
38 38
39void MaxwellDMA::CallMultiMethod(u32 method, const u32* base_start, u32 amount, u32 methods_pending) { 39void MaxwellDMA::CallMultiMethod(u32 method, const u32* base_start, u32 amount,
40 u32 methods_pending) {
40 for (std::size_t i = 0; i < amount; i++) { 41 for (std::size_t i = 0; i < amount; i++) {
41 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)}); 42 CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)});
42 } 43 }