mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06:00
Bit of cleanup. Clean up my massive hack in the ShaderManagerFiles. Almost feature parity with Nvidia CG now I think. Just need to do Alpha test with Dual source blending now.
This commit is contained in:

committed by
Sonicadvance1

parent
cf68cc0c61
commit
b24990ca28
@ -926,7 +926,8 @@ const char *GeneratePixelShaderCode(DSTALPHA_MODE dstAlphaMode, API_TYPE ApiType
|
||||
if(ApiType == API_GLSL)
|
||||
{
|
||||
if(DepthTextureEnable)
|
||||
WRITE(p, "gl_FragDepth = depth;\n");
|
||||
WRITE(p, "gl_FragDepth = depth;\n");
|
||||
|
||||
WRITE(p, "gl_FragData[0] = ocol0;\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user