summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-25 01:02:32 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-13 06:30:34 +0200
commit76615b9f34efe72dd8f5dcae0d192aa4dc29e970 (patch)
tree0ce8326404380a1eeb257d4c24ca2dcc0ac9f0ad /src/video_core/engines/maxwell_3d.h
parentMerge pull request #3606 from ReinUsesLisp/nvflinger (diff)
downloadyuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar.gz
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar.bz2
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar.lz
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar.xz
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.tar.zst
yuzu-76615b9f34efe72dd8f5dcae0d192aa4dc29e970.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 4637ddabd..2977a7d81 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -966,7 +966,10 @@ public:
BitField<4, 1, u32> triangle_rast_flip;
} screen_y_control;
- INSERT_UNION_PADDING_WORDS(0x21);
+ float line_width_smooth;
+ float line_width_aliased;
+
+ INSERT_UNION_PADDING_WORDS(0x1F);
u32 vb_element_base;
u32 vb_base_instance;
@@ -1024,7 +1027,7 @@ public:
float polygon_offset_factor;
- INSERT_UNION_PADDING_WORDS(0x1);
+ u32 line_smooth_enable;
struct {
u32 tic_address_high;
@@ -1591,6 +1594,8 @@ ASSERT_REG_POSITION(stencil_front_func_mask, 0x4E6);
ASSERT_REG_POSITION(stencil_front_mask, 0x4E7);
ASSERT_REG_POSITION(frag_color_clamp, 0x4EA);
ASSERT_REG_POSITION(screen_y_control, 0x4EB);
+ASSERT_REG_POSITION(line_width_smooth, 0x4EC);
+ASSERT_REG_POSITION(line_width_aliased, 0x4ED);
ASSERT_REG_POSITION(vb_element_base, 0x50D);
ASSERT_REG_POSITION(vb_base_instance, 0x50E);
ASSERT_REG_POSITION(clip_distance_enabled, 0x544);
@@ -1604,6 +1609,7 @@ ASSERT_REG_POSITION(multisample_control, 0x54F);
ASSERT_REG_POSITION(condition, 0x554);
ASSERT_REG_POSITION(tsc, 0x557);
ASSERT_REG_POSITION(polygon_offset_factor, 0x55B);
+ASSERT_REG_POSITION(line_smooth_enable, 0x55C);
ASSERT_REG_POSITION(tic, 0x55D);
ASSERT_REG_POSITION(stencil_two_side_enable, 0x565);
ASSERT_REG_POSITION(stencil_back_op_fail, 0x566);