summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-26 01:04:13 +0200
committerbunnei <bunneidev@gmail.com>2018-10-26 06:42:57 +0200
commit58444a0376f67c38a35fed2b0f67feccff49afd3 (patch)
treee14a7fc0f3bd80faa32c0b7257bb2eb76744374c /src/video_core/engines
parentMerge pull request #1533 from FernandoS27/lmem (diff)
downloadyuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.gz
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.bz2
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.lz
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.xz
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.zst
yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 754a149fa..d6978162a 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -751,7 +751,14 @@ public:
};
} draw;
- INSERT_PADDING_WORDS(0x6B);
+ INSERT_PADDING_WORDS(0xA);
+
+ struct {
+ u32 enabled;
+ u32 index;
+ } primitive_restart;
+
+ INSERT_PADDING_WORDS(0x5F);
struct {
u32 start_addr_high;
@@ -1082,6 +1089,7 @@ ASSERT_REG_POSITION(stencil_back_func_func, 0x569);
ASSERT_REG_POSITION(point_coord_replace, 0x581);
ASSERT_REG_POSITION(code_address, 0x582);
ASSERT_REG_POSITION(draw, 0x585);
+ASSERT_REG_POSITION(primitive_restart, 0x591);
ASSERT_REG_POSITION(index_array, 0x5F2);
ASSERT_REG_POSITION(instanced_arrays, 0x620);
ASSERT_REG_POSITION(cull, 0x646);