summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-02 17:46:00 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-04-06 01:19:30 +0200
commitfc91e21206bf99fbfac2d108fe89cdfdc1bb81a2 (patch)
treeb501f51061b904b5970efc993efcc057c7e5ba8f /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #2266 from FernandoS27/arbitration (diff)
downloadyuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.gz
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.bz2
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.lz
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.xz
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.tar.zst
yuzu-fc91e21206bf99fbfac2d108fe89cdfdc1bb81a2.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index defcfbd3f..7713e10e2 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -250,6 +250,10 @@ void Maxwell3D::CallMethod(const GPU::MethodCall& method_call) {
ProcessQueryGet();
break;
}
+ case MAXWELL3D_REG_INDEX(sync_info): {
+ ProcessSyncPoint();
+ break;
+ }
default:
break;
}
@@ -327,6 +331,14 @@ void Maxwell3D::ProcessQueryGet() {
}
}
+void Maxwell3D::ProcessSyncPoint() {
+ const u32 sync_point = regs.sync_info.sync_point.Value();
+ const u32 increment = regs.sync_info.increment.Value();
+ const u32 cache_flush = regs.sync_info.unknown.Value();
+ UNIMPLEMENTED_MSG("Syncpoint Set {}, increment: {}, unk: {}", sync_point, increment,
+ cache_flush);
+}
+
void Maxwell3D::DrawArrays() {
LOG_DEBUG(HW_GPU, "called, topology={}, count={}", static_cast<u32>(regs.draw.topology.Value()),
regs.vertex_buffer.count);