summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Rodolfo Bogado2018-11-13 22:09:01 -0300
committerGravatar Rodolfo Bogado2018-11-17 19:59:33 -0300
commit8ed7e1af2c8d859ca5e1bd05e199b1f14099c8b4 (patch)
treef0903ff885f49b0ccecf3d4023fdd47e067bf072 /src/video_core/engines
parentadd missing MirrorOnceBorder support where supported (diff)
downloadyuzu-8ed7e1af2c8d859ca5e1bd05e199b1f14099c8b4.tar.gz
yuzu-8ed7e1af2c8d859ca5e1bd05e199b1f14099c8b4.tar.xz
yuzu-8ed7e1af2c8d859ca5e1bd05e199b1f14099c8b4.zip
add support for fragment_color_clamp
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 32780fa9a..f2d69814e 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -706,7 +706,9 @@ public:
706 u32 stencil_front_func_mask; 706 u32 stencil_front_func_mask;
707 u32 stencil_front_mask; 707 u32 stencil_front_mask;
708 708
709 INSERT_PADDING_WORDS(0x3); 709 INSERT_PADDING_WORDS(0x2);
710
711 u32 frag_color_clamp;
710 712
711 union { 713 union {
712 BitField<4, 1, u32> triangle_rast_flip; 714 BitField<4, 1, u32> triangle_rast_flip;
@@ -1142,6 +1144,7 @@ ASSERT_REG_POSITION(stencil_front_func_func, 0x4E4);
1142ASSERT_REG_POSITION(stencil_front_func_ref, 0x4E5); 1144ASSERT_REG_POSITION(stencil_front_func_ref, 0x4E5);
1143ASSERT_REG_POSITION(stencil_front_func_mask, 0x4E6); 1145ASSERT_REG_POSITION(stencil_front_func_mask, 0x4E6);
1144ASSERT_REG_POSITION(stencil_front_mask, 0x4E7); 1146ASSERT_REG_POSITION(stencil_front_mask, 0x4E7);
1147ASSERT_REG_POSITION(frag_color_clamp, 0x4EA);
1145ASSERT_REG_POSITION(screen_y_control, 0x4EB); 1148ASSERT_REG_POSITION(screen_y_control, 0x4EB);
1146ASSERT_REG_POSITION(vb_element_base, 0x50D); 1149ASSERT_REG_POSITION(vb_element_base, 0x50D);
1147ASSERT_REG_POSITION(point_size, 0x546); 1150ASSERT_REG_POSITION(point_size, 0x546);