mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Oops, undelete shader bits for alpha test.
This commit is contained in:
parent
97c568dca6
commit
c41b981333
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue