Index: ddraw/ShaderGen2D.cpp |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | 0xFFFFFFFF,
|
121 | 121 | 0xFFFFFFFF,
|
122 | 122 | 0xFFFFFFFF,
|
123 | | - 0x00000040,
|
| 123 | + 0xFFFFFFFF,
|
124 | 124 | 0x00000100,
|
125 | 125 | 0x08000400,
|
126 | 126 | 0x00001001,
|
— | — | @@ -307,38 +307,38 @@ |
308 | 308 | "pixel = (dest & (pattern | (pixel ^ colorsizedest))) ^ colorsizedest;\n",
|
309 | 309 | "pixel = dest ^ (pattern | (pixel & (dest ^ colorsizedest)));\n",
|
310 | 310 | "pixel = (dest & pattern) ^ colorsizedest;\n",//5F
|
311 | | -"",//60
|
312 | | -"",
|
313 | | -"",
|
314 | | -"",
|
315 | | -"",
|
316 | | -"",
|
| 311 | +"pixel = pattern & (dest ^ pixel);\n",//60
|
| 312 | +"pixel = (dest ^ colorsizedest) ^ pixel ^ (pattern | (dest & pixel));\n",
|
| 313 | +"pixel = dest ^ (pixel & (pattern | dest));\n",
|
| 314 | +"pixel = pixel ^ (dest | (pattern ^ colorsizedest));\n",
|
| 315 | +"pixel = pixel ^ (dest & (pattern | pixel));\n",
|
| 316 | +"pixel = dest ^ (pixel | (pattern ^ colorsizedest));\n",
|
317 | 317 | "pixel = pixel ^ dest;\n",//66 SRCINVERT
|
318 | | -"",
|
319 | | -"",
|
320 | | -"",
|
321 | | -"",
|
322 | | -"",
|
323 | | -"",
|
324 | | -"",
|
325 | | -"",
|
326 | | -"",//6F
|
327 | | -"",//70
|
328 | | -"",
|
329 | | -"",
|
330 | | -"",
|
331 | | -"",
|
332 | | -"",
|
333 | | -"",
|
334 | | -"",
|
335 | | -"",
|
336 | | -"",
|
337 | | -"",
|
338 | | -"",
|
339 | | -"",
|
340 | | -"",
|
341 | | -"",
|
342 | | -"",//7F
|
| 318 | +"pixel = pixel ^ (dest | ((pixel | pattern) ^ colorsizedest));\n",
|
| 319 | +"pixel = (dest ^ colorsizedest) ^ pixel ^ (pattern | ((dest | pixel) ^ colorsizedest));\n",
|
| 320 | +"pixel = (pattern ^ colorsizedest) ^ (dest ^ pixel);\n",
|
| 321 | +"pixel = dest ^ (pattern & pixel);\n",
|
| 322 | +"pixel = (pattern ^ colorsizedest) ^ pixel ^ (dest & (pattern | pixel));\n",
|
| 323 | +"pixel = pixel ^ (dest & pattern);\n",
|
| 324 | +"pixel = (pattern ^ colorsizedest) ^ dest ^ (pixel & (pattern | dest));\n",
|
| 325 | +"pixel = pixel ^ (dest & (pattern | (pixel ^ colorsizedest)));\n",
|
| 326 | +"pixel = (pattern & ((pixel ^ dest) ^ colorsizedest)) ^ colorsizedest;\n",//6F
|
| 327 | +"pixel = pattern & ((dest & pixel) ^ colorsizedest);\n",//70
|
| 328 | +"pixel = (pixel ^ colorsizedest) ^ ((pixel ^ dest) & (pattern ^ dest));\n",
|
| 329 | +"pixel = pixel ^ (dest | (pattern ^ pixel));\n",
|
| 330 | +"pixel = (pixel & (dest | (pattern ^ colorsizedest))) ^ colorsizedest;\n",
|
| 331 | +"pixel = dest ^ (pixel | (pattern ^ dest));\n",
|
| 332 | +"pixel = (dest & (pixel | (pattern ^ colorsizedest))) ^ colorsizedest;\n",
|
| 333 | +"pixel = pixel ^ (dest | (pattern & (pixel ^ colorsizedest)));\n",
|
| 334 | +"pixel = (pixel & dest) ^ colorsizedest;\n",
|
| 335 | +"pixel = pattern ^ (dest & pixel);\n",
|
| 336 | +"pixel = (dest ^ colorsizedest) ^ pixel ^ (pattern & (dest | pixel));\n",
|
| 337 | +"pixel = dest ^ (pattern & (pixel | (dest ^ colorsizedest)));\n",
|
| 338 | +"pixel = (pixel & ((dest ^ pattern) ^ colorsizedest)) ^ colorsizedest;\n",
|
| 339 | +"pixel = pixel ^ (pattern & (dest | (pixel ^ colorsizedest)));\n",
|
| 340 | +"pixel = (dest & ((pattern ^ pixel) ^ colorsizedest)) ^ colorsizedest;\n",
|
| 341 | +"pixel = (pixel ^ pattern) | (pattern ^ dest);\n",
|
| 342 | +"pixel = (dest & pattern & pixel) ^ colorsizedest;\n",//7F
|
343 | 343 | "",//80
|
344 | 344 | "",
|
345 | 345 | "",
|