summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Rodolfo Bogado2018-10-24 17:09:40 -0300
committerGravatar Rodolfo Bogado2018-10-28 01:13:55 -0300
commit0287b2be6d1edeecea26250e5cd8d3067ff614af (patch)
tree5f7a74be1a36768819c2cd413b1ad05fd8086f90 /src/video_core/engines
parentMerge pull request #1602 from DarkLordZach/key-derivation-isxdigit (diff)
downloadyuzu-0287b2be6d1edeecea26250e5cd8d3067ff614af.tar.gz
yuzu-0287b2be6d1edeecea26250e5cd8d3067ff614af.tar.xz
yuzu-0287b2be6d1edeecea26250e5cd8d3067ff614af.zip
Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index d6978162a..443affc36 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -723,7 +723,11 @@ public:
723 StencilOp stencil_back_op_zpass; 723 StencilOp stencil_back_op_zpass;
724 ComparisonOp stencil_back_func_func; 724 ComparisonOp stencil_back_func_func;
725 725
726 INSERT_PADDING_WORDS(0x17); 726 INSERT_PADDING_WORDS(0x4);
727
728 u32 framebuffer_srgb;
729
730 INSERT_PADDING_WORDS(0x12);
727 731
728 union { 732 union {
729 BitField<2, 1, u32> coord_origin; 733 BitField<2, 1, u32> coord_origin;
@@ -1086,6 +1090,7 @@ ASSERT_REG_POSITION(stencil_back_op_fail, 0x566);
1086ASSERT_REG_POSITION(stencil_back_op_zfail, 0x567); 1090ASSERT_REG_POSITION(stencil_back_op_zfail, 0x567);
1087ASSERT_REG_POSITION(stencil_back_op_zpass, 0x568); 1091ASSERT_REG_POSITION(stencil_back_op_zpass, 0x568);
1088ASSERT_REG_POSITION(stencil_back_func_func, 0x569); 1092ASSERT_REG_POSITION(stencil_back_func_func, 0x569);
1093ASSERT_REG_POSITION(framebuffer_srgb, 0x56E);
1089ASSERT_REG_POSITION(point_coord_replace, 0x581); 1094ASSERT_REG_POSITION(point_coord_replace, 0x581);
1090ASSERT_REG_POSITION(code_address, 0x582); 1095ASSERT_REG_POSITION(code_address, 0x582);
1091ASSERT_REG_POSITION(draw, 0x585); 1096ASSERT_REG_POSITION(draw, 0x585);