summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-12 04:39:02 +0200
committerGitHub <noreply@github.com>2018-08-12 04:39:02 +0200
commitf2c7b5dcd69fc27fd1710e61e8a96133fe160792 (patch)
tree19aa99cdf7a2f9cd4736fa62d44269f66b02bed6 /src/video_core/engines
parentMerge pull request #1023 from Subv/invalid_attribs (diff)
parentGPU/Maxwell3D: Implemented an alternative set of blend factors. (diff)
downloadyuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.gz
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.bz2
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.lz
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.xz
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.tar.zst
yuzu-f2c7b5dcd69fc27fd1710e61e8a96133fe160792.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h21
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:
OneMinusConstantColor = 0x62,
ConstantAlpha = 0x63,
OneMinusConstantAlpha = 0x64,
+
+ // These values are used by Nouveau and some games.
+ ZeroGL = 0x4000,
+ OneGL = 0x4001,
+ SourceColorGL = 0x4300,
+ OneMinusSourceColorGL = 0x4301,
+ SourceAlphaGL = 0x4302,
+ OneMinusSourceAlphaGL = 0x4303,
+ DestAlphaGL = 0x4304,
+ OneMinusDestAlphaGL = 0x4305,
+ DestColorGL = 0x4306,
+ OneMinusDestColorGL = 0x4307,
+ SourceAlphaSaturateGL = 0x4308,
+ ConstantColorGL = 0xc001,
+ OneMinusConstantColorGL = 0xc002,
+ ConstantAlphaGL = 0xc003,
+ OneMinusConstantAlphaGL = 0xc004,
+ Source1ColorGL = 0xc900,
+ OneMinusSource1ColorGL = 0xc901,
+ Source1AlphaGL = 0xc902,
+ OneMinusSource1AlphaGL = 0xc903,
};
u32 separate_alpha;