GPU: Added a command processor to decode the GPU pushbuffers and forward the commands to their respective engines.
This commit is contained in:
parent
ba2426aa3f
commit
e01a8f2187
12 changed files with 285 additions and 3 deletions
15
src/video_core/engines/fermi_2d.cpp
Normal file
15
src/video_core/engines/fermi_2d.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "video_core/engines/fermi_2d.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace Fermi2D {
|
||||
|
||||
void WriteReg(u32 method, u32 value) {}
|
||||
|
||||
} // namespace Fermi2D
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
18
src/video_core/engines/fermi_2d.h
Normal file
18
src/video_core/engines/fermi_2d.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace Fermi2D {
|
||||
|
||||
void WriteReg(u32 method, u32 value);
|
||||
|
||||
} // namespace Fermi2D
|
||||
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
15
src/video_core/engines/maxwell_3d.cpp
Normal file
15
src/video_core/engines/maxwell_3d.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "video_core/engines/maxwell_3d.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace Maxwell3D {
|
||||
|
||||
void WriteReg(u32 method, u32 value) {}
|
||||
|
||||
} // namespace Maxwell3D
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
18
src/video_core/engines/maxwell_3d.h
Normal file
18
src/video_core/engines/maxwell_3d.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace Maxwell3D {
|
||||
|
||||
void WriteReg(u32 method, u32 value);
|
||||
|
||||
} // namespace Maxwell3D
|
||||
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
15
src/video_core/engines/maxwell_compute.cpp
Normal file
15
src/video_core/engines/maxwell_compute.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "video_core/engines/maxwell_compute.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace MaxwellCompute {
|
||||
|
||||
void WriteReg(u32 method, u32 value) {}
|
||||
|
||||
} // namespace MaxwellCompute
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
18
src/video_core/engines/maxwell_compute.h
Normal file
18
src/video_core/engines/maxwell_compute.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Copyright 2018 yuzu Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/common_types.h"
|
||||
|
||||
namespace Tegra {
|
||||
namespace Engines {
|
||||
namespace MaxwellCompute {
|
||||
|
||||
void WriteReg(u32 method, u32 value);
|
||||
|
||||
} // namespace MaxwellCompute
|
||||
|
||||
} // namespace Engines
|
||||
} // namespace Tegra
|
Loading…
Add table
Add a link
Reference in a new issue