[PATCH 2/5] d3d9/tests: Add a test for 2D D3DFMT_V16U16 textures.

Henri Verbeet hverbeet at gmail.com
Fri Feb 20 07:56:39 CST 2015

On 20 February 2015 at 13:59, Stefan Dösinger <stefandoesinger at gmail.com> wrote:
> The code Henri uses in convert_s1_uint_d15_unorm looks reasonable, but
> I did not find a textbook explanation for it. Repeating the high bits
> in the extra space seems reasonable, but I'm not sure what the reason
> for ORing the least significant bit is.
It's supposed to be the stencil data. Note that that code probably
hasn't seen a lot of testing though, since in practice it's probably
only used for the upload of the initial surface contents. I.e.,

More information about the wine-devel mailing list