diff options
| author | 2020-01-15 16:14:17 -0300 | |
|---|---|---|
| committer | 2020-01-15 16:14:17 -0300 | |
| commit | c375d735e66b275d70de7c8a29113cf1e1e41d7e (patch) | |
| tree | b9797b0801720f2710681dd527916a61affa3557 /src/video_core/engines | |
| parent | Merge pull request #3303 from lioncash/reorder (diff) | |
| download | yuzu-c375d735e66b275d70de7c8a29113cf1e1e41d7e.tar.gz yuzu-c375d735e66b275d70de7c8a29113cf1e1e41d7e.tar.xz yuzu-c375d735e66b275d70de7c8a29113cf1e1e41d7e.zip | |
gl_state: Implement PROGRAM_POINT_SIZE
For gl_PointSize to have effect we have to activate
GL_PROGRAM_POINT_SIZE.
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 a35e7a195..2e6c7da19 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -1018,7 +1018,14 @@ public: | |||
| 1018 | } | 1018 | } |
| 1019 | } instanced_arrays; | 1019 | } instanced_arrays; |
| 1020 | 1020 | ||
| 1021 | INSERT_UNION_PADDING_WORDS(0x6); | 1021 | INSERT_UNION_PADDING_WORDS(0x4); |
| 1022 | |||
| 1023 | union { | ||
| 1024 | BitField<0, 1, u32> enable; | ||
| 1025 | BitField<4, 8, u32> unk4; | ||
| 1026 | } vp_point_size; | ||
| 1027 | |||
| 1028 | INSERT_UNION_PADDING_WORDS(1); | ||
| 1022 | 1029 | ||
| 1023 | Cull cull; | 1030 | Cull cull; |
| 1024 | 1031 | ||
| @@ -1503,6 +1510,7 @@ ASSERT_REG_POSITION(primitive_restart, 0x591); | |||
| 1503 | ASSERT_REG_POSITION(index_array, 0x5F2); | 1510 | ASSERT_REG_POSITION(index_array, 0x5F2); |
| 1504 | ASSERT_REG_POSITION(polygon_offset_clamp, 0x61F); | 1511 | ASSERT_REG_POSITION(polygon_offset_clamp, 0x61F); |
| 1505 | ASSERT_REG_POSITION(instanced_arrays, 0x620); | 1512 | ASSERT_REG_POSITION(instanced_arrays, 0x620); |
| 1513 | ASSERT_REG_POSITION(vp_point_size, 0x644); | ||
| 1506 | ASSERT_REG_POSITION(cull, 0x646); | 1514 | ASSERT_REG_POSITION(cull, 0x646); |
| 1507 | ASSERT_REG_POSITION(pixel_center_integer, 0x649); | 1515 | ASSERT_REG_POSITION(pixel_center_integer, 0x649); |
| 1508 | ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B); | 1516 | ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B); |