summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-12-25 14:31:29 -0400
committerGravatar GitHub2019-12-25 14:31:29 -0400
commit5619d243772a2bb762c7733bd3122e128e370448 (patch)
treee18bad50db01c6b22c841770a2dc18ccf91e9436 /src/video_core/engines
parentMerge pull request #3236 from ReinUsesLisp/rasterize-enable (diff)
parentfixed_pipeline_state: Define symetric operator!= and mark as noexcept (diff)
downloadyuzu-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.h20
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);
1444ASSERT_REG_POSITION(stencil_back_mask, 0x3D7); 1451ASSERT_REG_POSITION(stencil_back_mask, 0x3D7);
1445ASSERT_REG_POSITION(color_mask_common, 0x3E4); 1452ASSERT_REG_POSITION(color_mask_common, 0x3E4);
1446ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB); 1453ASSERT_REG_POSITION(rt_separate_frag_data, 0x3EB);
1447ASSERT_REG_POSITION(depth_bounds, 0x3EC); 1454ASSERT_REG_POSITION(depth_bounds, 0x3E7);
1448ASSERT_REG_POSITION(zeta, 0x3F8); 1455ASSERT_REG_POSITION(zeta, 0x3F8);
1449ASSERT_REG_POSITION(clear_flags, 0x43E); 1456ASSERT_REG_POSITION(clear_flags, 0x43E);
1450ASSERT_REG_POSITION(vertex_attrib_format, 0x458); 1457ASSERT_REG_POSITION(vertex_attrib_format, 0x458);
@@ -1500,6 +1507,7 @@ ASSERT_REG_POSITION(cull, 0x646);
1500ASSERT_REG_POSITION(pixel_center_integer, 0x649); 1507ASSERT_REG_POSITION(pixel_center_integer, 0x649);
1501ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B); 1508ASSERT_REG_POSITION(viewport_transform_enabled, 0x64B);
1502ASSERT_REG_POSITION(view_volume_clip_control, 0x64F); 1509ASSERT_REG_POSITION(view_volume_clip_control, 0x64F);
1510ASSERT_REG_POSITION(depth_bounds_enable, 0x66F);
1503ASSERT_REG_POSITION(logic_op, 0x671); 1511ASSERT_REG_POSITION(logic_op, 0x671);
1504ASSERT_REG_POSITION(clear_buffers, 0x674); 1512ASSERT_REG_POSITION(clear_buffers, 0x674);
1505ASSERT_REG_POSITION(color_mask, 0x680); 1513ASSERT_REG_POSITION(color_mask, 0x680);