/* No pixel shader blending is supported so expect garbage. The
* type of 'garbage' depends on the driver version and OS. E.g. on
ok(r0>=max(r1,1)-1&&r0<=r1+1&&
* G16R16 ATI reports (on old r9600 drivers) 0x00ffffff and on
g0>=max(g1,1)-1&&g0<=g1+1&&
* modern ones 0x002010ff which is also what NVIDIA reports. On
b0>=max(b1,1)-1&&b0<=b1+1,
* Vista NVIDIA seems to report 0x00ffffff on Geforce7 cards. */
"Offscreen failed for %s: Got color %#08x, expected %#08x.\n",test_formats[fmt_index].fmtName,color,test_formats[fmt_index].resultColorBlending);
}else{
/* No pixel shader blending is supported so expect garbage. The type of 'garbage' depends on the driver version and OS.
* E.g. on G16R16 ati reports (on old r9600 drivers) 0x00ffffff and on modern ones 0x002010ff which is also what Nvidia
* reports. On Vista Nvidia seems to report 0x00ffffff on Geforce7 cards. */
color=getPixelColor(device,320,240);
color=getPixelColor(device,320,240);
ok((color==0x00ffffff)||(color==test_formats[fmt_index].resultColorNoBlending),"Offscreen failed for %s: expected no color blending but received it anyway.\n",test_formats[fmt_index].fmtName);