summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_processor.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-18 09:13:22 +0100
committerSubv <subv2112@gmail.com>2018-03-18 17:51:45 +0100
commit7ac8657432f2dad14c985ef3df3972cd126fc9d8 (patch)
treebba6f790c07cfa8702ff69bf79b8431a0f63527d /src/video_core/command_processor.cpp
parentMerge pull request #245 from Subv/set_shader2 (diff)
downloadyuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar.gz
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar.bz2
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar.lz
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar.xz
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.tar.zst
yuzu-7ac8657432f2dad14c985ef3df3972cd126fc9d8.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_processor.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp
index 26ba8c40b..1d578582e 100644
--- a/src/video_core/command_processor.cpp
+++ b/src/video_core/command_processor.cpp
@@ -64,35 +64,6 @@ void GPU::WriteReg(u32 method, u32 subchannel, u32 value) {
}
}
-void GPU::CallMethod(u32 method, u32 subchannel, const std::vector<u32>& parameters) {
- LOG_WARNING(HW_GPU, "Processing method %08X on subchannel %u num params %zu", method,
- subchannel, parameters.size());
-
- if (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;
- }
-
- ASSERT(bound_engines.find(subchannel) != bound_engines.end());
-
- const EngineID engine = bound_engines[subchannel];
-
- switch (engine) {
- case EngineID::FERMI_TWOD_A:
- fermi_2d->CallMethod(method, parameters);
- break;
- case EngineID::MAXWELL_B:
- maxwell_3d->CallMethod(method, parameters);
- break;
- case EngineID::MAXWELL_COMPUTE_B:
- maxwell_compute->CallMethod(method, parameters);
- break;
- default:
- UNIMPLEMENTED();
- }
-}
-
void GPU::ProcessCommandList(GPUVAddr address, u32 size) {
// TODO(Subv): PhysicalToVirtualAddress is a misnomer, it converts a GPU VAddr into an
// application VAddr.