summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-12-04 14:49:22 +0100
committerGitHub <noreply@github.com>2018-12-04 14:49:22 +0100
commit7f6bc284e9eb39653bfdfba0e988311f24f14b6b (patch)
tree6ea0bf63529a0e73535036cace6e88cd416ce067 /src/video_core/gpu.cpp
parentMerge pull request #1852 from VPeruS/fix-format-string (diff)
parentRemoved unused file. (diff)
downloadyuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar.gz
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar.bz2
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar.lz
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar.xz
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.tar.zst
yuzu-7f6bc284e9eb39653bfdfba0e988311f24f14b6b.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index fd1242333..88c45a423 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -141,6 +141,12 @@ void GPU::CallMethod(const MethodCall& method_call) {
return;
}
+ if (method_call.method < static_cast<u32>(BufferMethods::CountBufferMethods)) {
+ // TODO(Subv): Research and implement these methods.
+ LOG_ERROR(HW_GPU, "Special buffer methods other than Bind are not implemented");
+ return;
+ }
+
const EngineID engine = bound_engines[method_call.subchannel];
switch (engine) {