diff options
| author | 2018-10-24 17:09:40 -0300 | |
|---|---|---|
| committer | 2018-10-28 01:13:55 -0300 | |
| commit | 0287b2be6d1edeecea26250e5cd8d3067ff614af (patch) | |
| tree | 5f7a74be1a36768819c2cd413b1ad05fd8086f90 /src/video_core/engines | |
| parent | Merge pull request #1602 from DarkLordZach/key-derivation-isxdigit (diff) | |
| download | yuzu-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.h | 7 |
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); | |||
| 1086 | ASSERT_REG_POSITION(stencil_back_op_zfail, 0x567); | 1090 | ASSERT_REG_POSITION(stencil_back_op_zfail, 0x567); |
| 1087 | ASSERT_REG_POSITION(stencil_back_op_zpass, 0x568); | 1091 | ASSERT_REG_POSITION(stencil_back_op_zpass, 0x568); |
| 1088 | ASSERT_REG_POSITION(stencil_back_func_func, 0x569); | 1092 | ASSERT_REG_POSITION(stencil_back_func_func, 0x569); |
| 1093 | ASSERT_REG_POSITION(framebuffer_srgb, 0x56E); | ||
| 1089 | ASSERT_REG_POSITION(point_coord_replace, 0x581); | 1094 | ASSERT_REG_POSITION(point_coord_replace, 0x581); |
| 1090 | ASSERT_REG_POSITION(code_address, 0x582); | 1095 | ASSERT_REG_POSITION(code_address, 0x582); |
| 1091 | ASSERT_REG_POSITION(draw, 0x585); | 1096 | ASSERT_REG_POSITION(draw, 0x585); |