mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
Oops, undelete shader bits for alpha test.
This commit is contained in:
1 parent
97c568dca6
commit
c41b981333
1 file changed
+6
@@ -236,6 +236,12 @@ void ComputeFragmentShaderID(ShaderID *id_out, uint32_t vertType) {
|
||||
}
|
||||
|
||||
id.SetBit(FS_BIT_LMODE, lmode);
|
||||
if (enableAlphaTest) {
|
||||
// 5 bits total.
|
||||
id.SetBit(FS_BIT_ALPHA_TEST);
|
||||
id.SetBits(FS_BIT_ALPHA_TEST_FUNC, 3, gstate.getAlphaTestFunction());
|
||||
id.SetBit(FS_BIT_ALPHA_AGAINST_ZERO, IsAlphaTestAgainstZero());
|
||||
}
|
||||
if (enableColorTest) {
|
||||
// 4 bits total.
|
||||
id.SetBit(FS_BIT_COLOR_TEST);
|
||||
|
||||
Reference in new issue
Block a user