diff options
| author | 2018-08-11 22:39:02 -0400 | |
|---|---|---|
| committer | 2018-08-11 22:39:02 -0400 | |
| commit | f2c7b5dcd69fc27fd1710e61e8a96133fe160792 (patch) | |
| tree | 19aa99cdf7a2f9cd4736fa62d44269f66b02bed6 /src/video_core/engines | |
| parent | Merge pull request #1023 from Subv/invalid_attribs (diff) | |
| parent | GPU/Maxwell3D: Implemented an alternative set of blend factors. (diff) | |
| download | yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.gz yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.xz yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.zip | |
Merge pull request #1024 from Subv/blend_gl
GPU/Maxwell3D: Implemented an alternative set of blend factors.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d795323b0..1b30ce018 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -357,6 +357,27 @@ public: | |||
| 357 | OneMinusConstantColor = 0x62, | 357 | OneMinusConstantColor = 0x62, |
| 358 | ConstantAlpha = 0x63, | 358 | ConstantAlpha = 0x63, |
| 359 | OneMinusConstantAlpha = 0x64, | 359 | OneMinusConstantAlpha = 0x64, |
| 360 | |||
| 361 | // These values are used by Nouveau and some games. | ||
| 362 | ZeroGL = 0x4000, | ||
| 363 | OneGL = 0x4001, | ||
| 364 | SourceColorGL = 0x4300, | ||
| 365 | OneMinusSourceColorGL = 0x4301, | ||
| 366 | SourceAlphaGL = 0x4302, | ||
| 367 | OneMinusSourceAlphaGL = 0x4303, | ||
| 368 | DestAlphaGL = 0x4304, | ||
| 369 | OneMinusDestAlphaGL = 0x4305, | ||
| 370 | DestColorGL = 0x4306, | ||
| 371 | OneMinusDestColorGL = 0x4307, | ||
| 372 | SourceAlphaSaturateGL = 0x4308, | ||
| 373 | ConstantColorGL = 0xc001, | ||
| 374 | OneMinusConstantColorGL = 0xc002, | ||
| 375 | ConstantAlphaGL = 0xc003, | ||
| 376 | OneMinusConstantAlphaGL = 0xc004, | ||
| 377 | Source1ColorGL = 0xc900, | ||
| 378 | OneMinusSource1ColorGL = 0xc901, | ||
| 379 | Source1AlphaGL = 0xc902, | ||
| 380 | OneMinusSource1AlphaGL = 0xc903, | ||
| 360 | }; | 381 | }; |
| 361 | 382 | ||
| 362 | u32 separate_alpha; | 383 | u32 separate_alpha; |