Fixed DX9's 16 and 24 bit comparisons.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@593 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2008-09-21 10:21:37 +00:00
parent 6a5ad0ffdb
commit 0f4d04f4fb
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,7 @@ const char *tevAInputTable2[] =
"textemp", //TEXA, "textemp", //TEXA,
"rastemp", //RASA, "rastemp", //RASA,
"konsttemp", //KONST, (hw1 had quarter) "konsttemp", //KONST, (hw1 had quarter)
"0.0", //ZERO "float4(0,0,0,0)",//ZERO
"PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR",
"PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR",
"PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR", "PADERROR",
@ -328,6 +328,7 @@ float4 main(in float4 colors[2] : COLOR0",PS_CONST_CONSTALPHA,PS_CONST_ALPHAREF,
WRITE(p,") : COLOR\n\ WRITE(p,") : COLOR\n\
{\n\ {\n\
float4 c0=color0,c1=color1,c2=color2,prev=float4(0.0f,0.0f,0.0f,0.0f),textemp,rastemp,konsttemp;\n\ float4 c0=color0,c1=color1,c2=color2,prev=float4(0.0f,0.0f,0.0f,0.0f),textemp,rastemp,konsttemp;\n\
float3 comp16 = float3(1,255,0), comp24 = float3(1,255,255*255);\n\
\n"); \n");
for (int i = 0; i < numStages; i++) for (int i = 0; i < numStages; i++)