Index: ddraw/ShaderGen2D.cpp |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 |
|
119 | 119 | const DWORD supported_rops[8] = {
|
120 | 120 | 0xFFFFFFFF,
|
121 | | - 0x00080000,
|
| 121 | + 0xFFFFFFFF,
|
122 | 122 | 0x04200010,
|
123 | 123 | 0x00000040,
|
124 | 124 | 0x00000100,
|
— | — | @@ -243,38 +243,38 @@ |
244 | 244 | "pixel = (dest ^ colorsizedest) ^ (pixel & (dest ^ pattern));",
|
245 | 245 | "pixel = pattern ^ (dest | pixel);",
|
246 | 246 | "pixel = (pattern & (dest | pixel)) ^ colorsizedest;",//1F
|
247 | | -"",//20
|
248 | | -"",
|
249 | | -"",
|
250 | | -"",
|
251 | | -"",
|
252 | | -"",
|
253 | | -"",
|
254 | | -"",
|
255 | | -"",
|
256 | | -"",
|
257 | | -"",
|
258 | | -"",
|
259 | | -"",
|
260 | | -"",
|
261 | | -"",
|
262 | | -"",//2F
|
263 | | -"",//30
|
264 | | -"",
|
265 | | -"",
|
| 247 | +"pixel = dest & (pattern & (pixel ^ colorsizedest));",//20
|
| 248 | +"pixel = (pixel | (dest ^ pattern)) ^ colorsizedest;",
|
| 249 | +"pixel = (pixel ^ colorsizedest) & dest;",
|
| 250 | +"pixel = (pixel | (pattern & (dest ^ colorsizedest))) ^ colorsizedest;",
|
| 251 | +"pixel = (pixel ^ pattern) & (pixel ^ dest);",
|
| 252 | +"pixel = (pattern ^ colorsizedest) ^ (dest & ((pixel & pattern) ^ colorsizedest));",
|
| 253 | +"pixel = pixel ^ (dest | (pixel & pattern));",
|
| 254 | +"pixel = pixel ^ (dest | ((pattern ^ pixel) ^ colorsizedest));",
|
| 255 | +"pixel = dest & (pattern ^ pixel);",
|
| 256 | +"pixel = (pattern ^ colorsizedest) ^ pixel ^ (dest | (pattern & pixel));",
|
| 257 | +"pixel = dest & ((pattern & pixel) ^ colorsizedest);",
|
| 258 | +"pixel = (pixel ^ colorsizedest) ^ ((pattern ^ pixel) & (pattern ^ dest));",
|
| 259 | +"pixel = pixel ^ (pattern & (pixel | dest));",
|
| 260 | +"pixel = pattern ^ (pixel | (dest ^ colorsizedest));",
|
| 261 | +"pixel = pattern ^ (pixel | (dest ^ pattern));",
|
| 262 | +"pixel = (pattern & (pixel | (dest ^ pattern)))^ colorsizedest;",//2F
|
| 263 | +"pixel = pattern & (pixel ^ colorsizedest);",//30
|
| 264 | +"pixel = (pixel | (dest & (pattern ^ colorsizedest))) ^ colorsizedest;",
|
| 265 | +"pixel = pixel ^ (dest | pattern | pixel);",
|
266 | 266 | "pixel = pixel ^ colorsizedest;\n",//33 NOTSRCCOPY
|
267 | | -"",
|
268 | | -"",
|
269 | | -"",
|
270 | | -"",
|
271 | | -"",
|
272 | | -"",
|
273 | | -"",
|
274 | | -"",
|
275 | | -"",
|
276 | | -"",
|
277 | | -"",
|
278 | | -"",//3F
|
| 267 | +"pixel = pixel ^ (pattern | (dest & pixel));",
|
| 268 | +"pixel = pixel ^ (pattern | ((dest ^ pixel) ^ colorsizedest));",
|
| 269 | +"pixel = pixel ^ (dest | pattern);",
|
| 270 | +"pixel = (pixel & (dest | pattern)) ^ colorsizedest;",
|
| 271 | +"pixel = pattern ^ (pixel & (dest | pattern));",
|
| 272 | +"pixel = pixel ^ (pattern | (dest ^ colorsizedest));",
|
| 273 | +"pixel = pixel ^ (pattern | (dest ^ pixel));",
|
| 274 | +"pixel = (pixel & (pattern | (dest ^ colorsizedest))) ^ colorsizedest;",
|
| 275 | +"pixel = pattern ^ pixel;",
|
| 276 | +"pixel = pixel ^ (pattern | ((dest | pixel) ^ colorsizedest));",
|
| 277 | +"pixel = pixel ^ (pattern | (dest & (pixel ^ colorsizedest)));",
|
| 278 | +"pixel = (pattern & pixel) ^ colorsizedest;",//3F
|
279 | 279 | "",//40
|
280 | 280 | "",
|
281 | 281 | "",
|