summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2017-01-27 20:16:36 -0800
committerGravatar Yuri Kunde Schlesner2017-02-04 13:08:47 -0800
commit000e78144ce87d0be1749f26b9d0494d3c4ddf2f (patch)
treeab7180a99b8289dff4b2ee96f7675816e5cc0d2b /src/video_core/debug_utils
parentMerge pull request #2476 from yuriks/shader-refactor3 (diff)
downloadyuzu-000e78144ce87d0be1749f26b9d0494d3c4ddf2f.tar.gz
yuzu-000e78144ce87d0be1749f26b9d0494d3c4ddf2f.tar.xz
yuzu-000e78144ce87d0be1749f26b9d0494d3c4ddf2f.zip
VideoCore: Split rasterizer regs from Regs struct
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
-rw-r--r--src/video_core/debug_utils/debug_utils.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 2d40f7d4f..618268654 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -90,7 +90,7 @@ namespace DebugUtils {
90 90
91void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, 91void DumpShader(const std::string& filename, const Regs::ShaderConfig& config,
92 const Shader::ShaderSetup& setup, 92 const Shader::ShaderSetup& setup,
93 const Regs::VSOutputAttributes* output_attributes) { 93 const RasterizerRegs::VSOutputAttributes* output_attributes) {
94 struct StuffToWrite { 94 struct StuffToWrite {
95 const u8* pointer; 95 const u8* pointer;
96 u32 size; 96 u32 size;
@@ -129,7 +129,7 @@ void DumpShader(const std::string& filename, const Regs::ShaderConfig& config,
129 // This is put into a try-catch block to make sure we notice unknown configurations. 129 // This is put into a try-catch block to make sure we notice unknown configurations.
130 std::vector<OutputRegisterInfo> output_info_table; 130 std::vector<OutputRegisterInfo> output_info_table;
131 for (unsigned i = 0; i < 7; ++i) { 131 for (unsigned i = 0; i < 7; ++i) {
132 using OutputAttributes = Pica::Regs::VSOutputAttributes; 132 using OutputAttributes = Pica::RasterizerRegs::VSOutputAttributes;
133 133
134 // TODO: It's still unclear how the attribute components map to the register! 134 // TODO: It's still unclear how the attribute components map to the register!
135 // Once we know that, this code probably will not make much sense anymore. 135 // Once we know that, this code probably will not make much sense anymore.
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h
index 938a2e1b5..51270bc9c 100644
--- a/src/video_core/debug_utils/debug_utils.h
+++ b/src/video_core/debug_utils/debug_utils.h
@@ -184,7 +184,7 @@ namespace DebugUtils {
184 184
185void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, 185void DumpShader(const std::string& filename, const Regs::ShaderConfig& config,
186 const Shader::ShaderSetup& setup, 186 const Shader::ShaderSetup& setup,
187 const Regs::VSOutputAttributes* output_attributes); 187 const RasterizerRegs::VSOutputAttributes* output_attributes);
188 188
189// Utility class to log Pica commands. 189// Utility class to log Pica commands.
190struct PicaTrace { 190struct PicaTrace {