Index: ddraw/ShaderGen2D.cpp |
— | — | @@ -120,7 +120,7 @@ |
121 | 121 | 0xFFFFFFFF,
|
122 | 122 | 0xFFFFFFFF,
|
123 | 123 | 0xFFFFFFFF,
|
124 | | - 0x00000100,
|
| 124 | + 0xFFFFFFFF,
|
125 | 125 | 0x08000400,
|
126 | 126 | 0x00001001,
|
127 | 127 | 0x88014000
|
— | — | @@ -339,38 +339,38 @@ |
340 | 340 | "pixel = (dest & ((pattern ^ pixel) ^ colorsizedest)) ^ colorsizedest;\n",
|
341 | 341 | "pixel = (pixel ^ pattern) | (pattern ^ dest);\n",
|
342 | 342 | "pixel = (dest & pattern & pixel) ^ colorsizedest;\n",//7F
|
343 | | -"",//80
|
344 | | -"",
|
345 | | -"",
|
346 | | -"",
|
347 | | -"",
|
348 | | -"",
|
349 | | -"",
|
350 | | -"",
|
| 343 | +"pixel = dest & pattern & pixel;\n",//80
|
| 344 | +"pixel = ((pixel ^ pattern) | (pixel ^ dest)) ^ colorsizedest;\n",
|
| 345 | +"pixel = dest & ((pattern ^ pixel) ^ colorsizedest);\n",
|
| 346 | +"pixel = (pixel ^ colorsizedest) ^ (pattern & (dest | (pixel ^ colorsizedest)));\n",
|
| 347 | +"pixel = pixel & ((dest ^ pattern) ^ colorsizedest);\n",
|
| 348 | +"pixel = (pattern ^ colorsizedest) ^ (dest & (pixel | (pattern ^ colorsizedest)));\n",
|
| 349 | +"pixel = dest ^ pixel ^ (pattern & (dest | pixel));\n",
|
| 350 | +"pixel = (pattern ^ colorsizedest) ^ (dest & pixel);\n",
|
351 | 351 | "pixel = pixel & dest;\n",//88 SRCAND
|
352 | | -"",
|
353 | | -"",
|
354 | | -"",
|
355 | | -"",
|
356 | | -"",
|
357 | | -"",
|
358 | | -"",//8F
|
359 | | -"",//90
|
360 | | -"",
|
361 | | -"",
|
362 | | -"",
|
363 | | -"",
|
364 | | -"",
|
365 | | -"",
|
366 | | -"",
|
367 | | -"",
|
368 | | -"",
|
369 | | -"",
|
370 | | -"",
|
371 | | -"",
|
372 | | -"",
|
373 | | -"",
|
374 | | -"",//9F
|
| 352 | +"pixel = (pixel ^ colorsizedest) ^ (dest | (pattern & (pixel ^ colorsizedest)));\n",
|
| 353 | +"pixel = dest & (pixel | (pattern ^ colorsizedest));\n",
|
| 354 | +"pixel = (dest ^ colorsizedest) ^ (pixel | (pattern ^ dest));\n",
|
| 355 | +"pixel = pixel & (dest | (pattern ^ colorsizedest));\n",
|
| 356 | +"pixel = (pixel ^ colorsizedest) ^ (dest | (pattern ^ pixel));\n",
|
| 357 | +"pixel = pixel ^ ((pixel ^ dest) & (pattern ^ dest));\n",
|
| 358 | +"pixel = (pattern & ((dest & pixel) ^ colorsizedest)) ^ colorsizedest;\n",//8F
|
| 359 | +"pixel = pattern & ((dest ^ pixel) ^ colorsizedest);\n",//90
|
| 360 | +"pixel = (pixel ^ colorsizedest) ^ (dest & (pattern | (pixel ^ colorsizedest)));\n",
|
| 361 | +"pixel = dest ^ pattern ^ (pixel & (dest | pattern));\n",
|
| 362 | +"pixel = (pixel ^ colorsizedest) ^ (pattern & dest);\n",
|
| 363 | +"pixel = pixel ^ pattern ^ (dest & (pattern | pixel));\n",
|
| 364 | +"pixel = (dest ^ colorsizedest) ^ (pattern & pixel);\n",
|
| 365 | +"pixel = dest ^ pattern ^ pixel;\n",
|
| 366 | +"pixel = pixel ^ pattern ^ (dest | ((pattern | pixel) ^ colorsizedest));\n",
|
| 367 | +"pixel = (pixel ^ colorsizedest) ^ (dest | ((pattern | pixel) ^ colorsizedest));\n",
|
| 368 | +"pixel = (pixel ^ colorsizedest) ^ dest;\n",
|
| 369 | +"pixel = dest ^ (pattern & (pixel ^ colorsizedest));\n",
|
| 370 | +"pixel = (pixel ^ colorsizedest) ^ (dest & (pattern | pixel));\n",
|
| 371 | +"pixel = pixel ^ (pattern & (dest ^ colorsizedest));\n",
|
| 372 | +"pixel = (dest ^ colorsizedest) ^ (pixel & (pattern | dest));\n",
|
| 373 | +"pixel = dest ^ pixel ^ (pattern | (dest & pixel));\n",
|
| 374 | +"pixel = (pattern & (dest ^ pixel)) ^ colorsizedest;\n",//9F
|
375 | 375 | "",//A0
|
376 | 376 | "",
|
377 | 377 | "",
|