diff options
| author | 2019-12-25 14:31:29 -0400 | |
|---|---|---|
| committer | 2019-12-25 14:31:29 -0400 | |
| commit | 5619d243772a2bb762c7733bd3122e128e370448 (patch) | |
| tree | e18bad50db01c6b22c841770a2dc18ccf91e9436 /src/video_core/engines | |
| parent | Merge pull request #3236 from ReinUsesLisp/rasterize-enable (diff) | |
| parent | fixed_pipeline_state: Define symetric operator!= and mark as noexcept (diff) | |
| download | yuzu-5619d243772a2bb762c7733bd3122e128e370448.tar.gz yuzu-5619d243772a2bb762c7733bd3122e128e370448.tar.xz yuzu-5619d243772a2bb762c7733bd3122e128e370448.zip | |
Merge pull request #3244 from ReinUsesLisp/vk-fps
fixed_pipeline_state: Define structure and loaders
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 870b359be..a35e7a195 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -711,13 +711,15 @@ public: | |||
| 711 | 711 | ||
| 712 | u32 color_mask_common; | 712 | u32 color_mask_common; |
| 713 | 713 | ||
| 714 | INSERT_UNION_PADDING_WORDS(0x6); | 714 | INSERT_UNION_PADDING_WORDS(0x2); |
| 715 | |||
| 716 | u32 rt_separate_frag_data; | ||
| 717 | 715 | ||
| 718 | f32 depth_bounds[2]; | 716 | f32 depth_bounds[2]; |
| 719 | 717 | ||
| 720 | INSERT_UNION_PADDING_WORDS(0xA); | 718 | INSERT_UNION_PADDING_WORDS(0x2); |
| 719 | |||
| 720 | u32 rt_separate_frag_data; | ||
| 721 | |||
| 722 | INSERT_UNION_PADDING_WORDS(0xC); | ||
| 721 | 723 | ||
| 722 | struct { | 724 | struct { |
| 723 | u32 address_high; | 725 | u32 address_high; |
| @@ -1034,7 +1036,12 @@ public: | |||
| 1034 | BitField<4, 1, u32> depth_clamp_far; | 1036 | BitField<4, 1, u32> depth_clamp_far; |
| 1035 | } view_volume_clip_control; | 1037 | } view_volume_clip_control; |
| 1036 | 1038 | ||
| 1037 | INSERT_UNION_PADDING_WORDS(0x21); | 1039 | INSERT_UNION_PADDING_WORDS(0x1F); |
| 1040 | |||
| 1041 | u32 depth_bounds_enable; | ||
| 1042 | |||
| 1043 | INSERT_UNION_PADDING_WORDS(1); | ||
| 1044 | |||
| 1038 | struct { | 1045 | struct { |
| 1039 | u32 enable; | 1046 | u32 enable; |
| 1040 | LogicOperation operation; | 1047 | LogicOperation operation; |
| @@ -1444,7 +1451,7 @@ ASSERT_REG_POSITION(stencil_back_func_mask, 0x3D6); | |||
| 1444 | ASSERT_REG_POSITION(stencil_back_mask, 0x3D7); | 1451 | ASSERT_REG_POSITION(stencil_back_mask, 0x3D7); |
| 1445 | ASSERT_REG_POSITION(color_mask_common, 0x3E4); | 1452 | ASSERT_REG_POSITION(color_mask_common, 0x3E4); |
| 1446 | ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB); | 1453 | ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB); |
| 1447 | ASSERT_REG_POSITION(depth_bounds, 0x3EC); | 1454 | ASSERT_REG_POSITION(depth_bounds, 0x3E7); |
| 1448 | ASSERT_REG_POSITION(zeta, 0x3F8); | 1455 | ASSERT_REG_POSITION(zeta, 0x3F8); |
| 1449 | ASSERT_REG_POSITION(clear_flags, 0x43E); | 1456 | ASSERT_REG_POSITION(clear_flags, 0x43E); |
| 1450 | ASSERT_REG_POSITION(vertex_attrib_format, 0x458); | 1457 | ASSERT_REG_POSITION(vertex_attrib_format, 0x458); |
| @@ -1500,6 +1507,7 @@ ASSERT_REG_POSITION(cull, 0x646); | |||
| 1500 | ASSERT_REG_POSITION(pixel_center_integer, 0x649); | 1507 | ASSERT_REG_POSITION(pixel_center_integer, 0x649); |
| 1501 | ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B); | 1508 | ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B); |
| 1502 | ASSERT_REG_POSITION(view_volume_clip_control, 0x64F); | 1509 | ASSERT_REG_POSITION(view_volume_clip_control, 0x64F); |
| 1510 | ASSERT_REG_POSITION(depth_bounds_enable, 0x66F); | ||
| 1503 | ASSERT_REG_POSITION(logic_op, 0x671); | 1511 | ASSERT_REG_POSITION(logic_op, 0x671); |
| 1504 | ASSERT_REG_POSITION(clear_buffers, 0x674); | 1512 | ASSERT_REG_POSITION(clear_buffers, 0x674); |
| 1505 | ASSERT_REG_POSITION(color_mask, 0x680); | 1513 | ASSERT_REG_POSITION(color_mask, 0x680); |