diff options
| author | 2016-03-02 22:16:38 -0500 | |
|---|---|---|
| committer | 2016-03-02 22:16:38 -0500 | |
| commit | 6b775034dd8343c06369b64bf073d6a70f35f510 (patch) | |
| tree | f2a9099637bcb218ff0cc789f98151689f65c903 /src/video_core/debug_utils | |
| parent | Merge pull request #1434 from Kloen/legend (diff) | |
| download | yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.gz yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.tar.xz yuzu-6b775034dd8343c06369b64bf073d6a70f35f510.zip | |
Add immediate mode vertex submission
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 3 | ||||
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 6e6fd7335..6e21caa78 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include "core/settings.h" | 28 | #include "core/settings.h" |
| 29 | 29 | ||
| 30 | #include "video_core/pica.h" | 30 | #include "video_core/pica.h" |
| 31 | #include "video_core/pica_state.h" | ||
| 31 | #include "video_core/renderer_base.h" | 32 | #include "video_core/renderer_base.h" |
| 32 | #include "video_core/utils.h" | 33 | #include "video_core/utils.h" |
| 33 | #include "video_core/video_core.h" | 34 | #include "video_core/video_core.h" |
| @@ -113,7 +114,7 @@ void GeometryDumper::Dump() { | |||
| 113 | } | 114 | } |
| 114 | 115 | ||
| 115 | 116 | ||
| 116 | void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, const State::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes) | 117 | void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, const Shader::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes) |
| 117 | { | 118 | { |
| 118 | struct StuffToWrite { | 119 | struct StuffToWrite { |
| 119 | u8* pointer; | 120 | u8* pointer; |
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 85762f5b4..795160a32 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include "core/tracer/recorder.h" | 17 | #include "core/tracer/recorder.h" |
| 18 | 18 | ||
| 19 | #include "video_core/pica.h" | 19 | #include "video_core/pica.h" |
| 20 | #include "video_core/shader/shader.h" | ||
| 20 | 21 | ||
| 21 | namespace Pica { | 22 | namespace Pica { |
| 22 | 23 | ||
| @@ -182,7 +183,7 @@ private: | |||
| 182 | }; | 183 | }; |
| 183 | 184 | ||
| 184 | void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, | 185 | void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, |
| 185 | const State::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes); | 186 | const Shader::ShaderSetup& setup, const Regs::VSOutputAttributes* output_attributes); |
| 186 | 187 | ||
| 187 | 188 | ||
| 188 | // Utility class to log Pica commands. | 189 | // Utility class to log Pica commands. |