Hello
In the course of developing video conferencing software, I've stumbled upon what appears to be a bug in the HD2000 drivers (for the SNB i3's integrated GPU, under Win7 32bit).
When I create a surface of type YUY2, lock it, fill it with data starting with the Y (brightness) element per the format's specifications, unlock it, stretch it to the backbuffer and call present, I get a garbled image.
The exact same code works perfectly well on a few nVidia & AMD discrete GPUs, on the very same PC.
Poking around, I found out that when using D3DFMT_UYVY instead of D3DFMT_YUY2 as the format for surface creation, the Intel GPU shows a perfect image, and the other GPUs show a garbled image, much like the Intel has shown before the switch.
From that I conclude that Intel's drivers, at some point, have switched the two surface formats for some reason.
Any chance of having this bug addressed ? Am I even in the right forum ? (if I'm not, please direct me towards the correct one ?)
The surface creation command (using Direct3D9) looks like so :
hResult=m_D3DDevice->CreateOffscreenPlainSurface (m_Width,m_Height,D3DFMT_YUY2,D3DPOOL_DEFAULT,&m_GPUSurfaces,NULL);
regards
Jack Chimasera