summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar bunnei2018-09-02 10:49:18 -0400
committerGravatar GitHub2018-09-02 10:49:18 -0400
commit325f3e0693ab503b308d28958415de0072b46555 (patch)
tree32c024dfc61048316c64796a02a9b927c8edea7a /src/video_core/engines
parentMerge pull request #1215 from ogniK5377/texs-nodep-assert (diff)
parentmaxwell_3d: Use CoreTiming for query timestamp (diff)
downloadyuzu-325f3e0693ab503b308d28958415de0072b46555.tar.gz
yuzu-325f3e0693ab503b308d28958415de0072b46555.tar.xz
yuzu-325f3e0693ab503b308d28958415de0072b46555.zip
Merge pull request #1213 from DarkLordZach/octopath-fs
filesystem/maxwell_3d: Various changes to boot Project Octopath Traveller
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 68ff1e86b..e63ad4d46 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -5,6 +5,7 @@
5#include <cinttypes> 5#include <cinttypes>
6#include "common/assert.h" 6#include "common/assert.h"
7#include "core/core.h" 7#include "core/core.h"
8#include "core/core_timing.h"
8#include "core/memory.h" 9#include "core/memory.h"
9#include "video_core/debug_utils/debug_utils.h" 10#include "video_core/debug_utils/debug_utils.h"
10#include "video_core/engines/maxwell_3d.h" 11#include "video_core/engines/maxwell_3d.h"
@@ -194,8 +195,8 @@ void Maxwell3D::ProcessQueryGet() {
194 // wait queues. 195 // wait queues.
195 LongQueryResult query_result{}; 196 LongQueryResult query_result{};
196 query_result.value = result; 197 query_result.value = result;
197 // TODO(Subv): Generate a real GPU timestamp and write it here instead of 0 198 // TODO(Subv): Generate a real GPU timestamp and write it here instead of CoreTiming
198 query_result.timestamp = 0; 199 query_result.timestamp = CoreTiming::GetTicks();
199 Memory::WriteBlock(*address, &query_result, sizeof(query_result)); 200 Memory::WriteBlock(*address, &query_result, sizeof(query_result));
200 } 201 }
201 break; 202 break;