diff options
| author | 2018-10-25 19:04:13 -0400 | |
|---|---|---|
| committer | 2018-10-26 00:42:57 -0400 | |
| commit | 58444a0376f67c38a35fed2b0f67feccff49afd3 (patch) | |
| tree | e14a7fc0f3bd80faa32c0b7257bb2eb76744374c /src/video_core/engines | |
| parent | Merge pull request #1533 from FernandoS27/lmem (diff) | |
| download | yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.gz yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.tar.xz yuzu-58444a0376f67c38a35fed2b0f67feccff49afd3.zip | |
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: | |||
| 751 | }; | 751 | }; |
| 752 | } draw; | 752 | } draw; |
| 753 | 753 | ||
| 754 | INSERT_PADDING_WORDS(0x6B); | 754 | INSERT_PADDING_WORDS(0xA); |
| 755 | |||
| 756 | struct { | ||
| 757 | u32 enabled; | ||
| 758 | u32 index; | ||
| 759 | } primitive_restart; | ||
| 760 | |||
| 761 | INSERT_PADDING_WORDS(0x5F); | ||
| 755 | 762 | ||
| 756 | struct { | 763 | struct { |
| 757 | u32 start_addr_high; | 764 | u32 start_addr_high; |
| @@ -1082,6 +1089,7 @@ ASSERT_REG_POSITION(stencil_back_func_func, 0x569); | |||
| 1082 | ASSERT_REG_POSITION(point_coord_replace, 0x581); | 1089 | ASSERT_REG_POSITION(point_coord_replace, 0x581); |
| 1083 | ASSERT_REG_POSITION(code_address, 0x582); | 1090 | ASSERT_REG_POSITION(code_address, 0x582); |
| 1084 | ASSERT_REG_POSITION(draw, 0x585); | 1091 | ASSERT_REG_POSITION(draw, 0x585); |
| 1092 | ASSERT_REG_POSITION(primitive_restart, 0x591); | ||
| 1085 | ASSERT_REG_POSITION(index_array, 0x5F2); | 1093 | ASSERT_REG_POSITION(index_array, 0x5F2); |
| 1086 | ASSERT_REG_POSITION(instanced_arrays, 0x620); | 1094 | ASSERT_REG_POSITION(instanced_arrays, 0x620); |
| 1087 | ASSERT_REG_POSITION(cull, 0x646); | 1095 | ASSERT_REG_POSITION(cull, 0x646); |