diff options
| author | 2015-08-31 07:02:30 -0500 | |
|---|---|---|
| committer | 2015-08-31 07:02:30 -0500 | |
| commit | 149ea561a697394fdd4d6d5a3f32e05837347dae (patch) | |
| tree | b0af74997b368c0a6e8eb6067916ae485e6bd229 /src | |
| parent | Merge pull request #1059 from Subv/vertex_offset (diff) | |
| download | yuzu-149ea561a697394fdd4d6d5a3f32e05837347dae.tar.gz yuzu-149ea561a697394fdd4d6d5a3f32e05837347dae.tar.xz yuzu-149ea561a697394fdd4d6d5a3f32e05837347dae.zip | |
Pica: Add the vertex_offset register to the Pica registers map.
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/pica.cpp | 1 | ||||
| -rw-r--r-- | src/video_core/pica.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/pica.cpp b/src/video_core/pica.cpp index c73a8178e..70586306c 100644 --- a/src/video_core/pica.cpp +++ b/src/video_core/pica.cpp | |||
| @@ -49,6 +49,7 @@ std::string Regs::GetCommandName(int index) { | |||
| 49 | ADD_FIELD(vertex_attributes); | 49 | ADD_FIELD(vertex_attributes); |
| 50 | ADD_FIELD(index_array); | 50 | ADD_FIELD(index_array); |
| 51 | ADD_FIELD(num_vertices); | 51 | ADD_FIELD(num_vertices); |
| 52 | ADD_FIELD(vertex_offset); | ||
| 52 | ADD_FIELD(trigger_draw); | 53 | ADD_FIELD(trigger_draw); |
| 53 | ADD_FIELD(trigger_draw_indexed); | 54 | ADD_FIELD(trigger_draw_indexed); |
| 54 | ADD_FIELD(vs_default_attributes_setup); | 55 | ADD_FIELD(vs_default_attributes_setup); |
diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 5811eb9bc..85610a859 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h | |||
| @@ -997,6 +997,7 @@ ASSERT_REG_POSITION(framebuffer, 0x110); | |||
| 997 | ASSERT_REG_POSITION(vertex_attributes, 0x200); | 997 | ASSERT_REG_POSITION(vertex_attributes, 0x200); |
| 998 | ASSERT_REG_POSITION(index_array, 0x227); | 998 | ASSERT_REG_POSITION(index_array, 0x227); |
| 999 | ASSERT_REG_POSITION(num_vertices, 0x228); | 999 | ASSERT_REG_POSITION(num_vertices, 0x228); |
| 1000 | ASSERT_REG_POSITION(vertex_offset, 0x22a); | ||
| 1000 | ASSERT_REG_POSITION(trigger_draw, 0x22e); | 1001 | ASSERT_REG_POSITION(trigger_draw, 0x22e); |
| 1001 | ASSERT_REG_POSITION(trigger_draw_indexed, 0x22f); | 1002 | ASSERT_REG_POSITION(trigger_draw_indexed, 0x22f); |
| 1002 | ASSERT_REG_POSITION(vs_default_attributes_setup, 0x232); | 1003 | ASSERT_REG_POSITION(vs_default_attributes_setup, 0x232); |