diff options
| author | bunnei <bunneidev@gmail.com> | 2018-10-25 19:04:13 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-10-26 00:42:57 -0400 |
| commit | 58444a0376f67c38a35fed2b0f67feccff49afd3 (patch) | |
| tree | e14a7fc0f3bd80faa32c0b7257bb2eb76744374c /src/video_core/engines | |
| parent | d278f25bda79a2d2ed560a68f3983881c1a1e501 (diff) | |
gl_rasterizer: Implement primitive restart.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 10 |
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); |
