Almost there.

This commit is contained in:
Ryan Houdek
2011-12-07 22:04:34 -06:00
committed by Sonicadvance1
parent 8123b137aa
commit 7cec31dbf3
6 changed files with 175 additions and 88 deletions

View File

@ -1274,7 +1274,7 @@ static void WriteAlphaTest(char *&p, API_TYPE ApiType,DSTALPHA_MODE dstAlphaMode
WRITE(p, tevAlphaFuncsTable[compindex],alphaRef[1]);//lookup the second component from the alpha function table
WRITE(p, ")) {\n");
WRITE(p, "ocol0 = 0;\n");
WRITE(p, "ocol0 = float4(0);\n");
if (dstAlphaMode == DSTALPHA_DUAL_SOURCE_BLEND)
WRITE(p, "ocol1 = 0;\n");
if (DepthTextureEnable)