[PATCH v2 6/6] d3drm: Implement frame Transform

Jeff Smith whydoubt at gmail.com
Mon Jun 17 20:49:31 CDT 2019


On Mon, Jun 17, 2019 at 8:21 PM Jeff Smith <whydoubt at gmail.com> wrote:
>
> +static void transform_affine(D3DVECTOR *d, D3DVALUE *s, D3DRMMATRIX4D m)
> +{
> +    d->u1.x = s->u1.x * m[0][0] + s->u2.y * m[1][0] + s->u3.z * m[2][0] + m[3][0];
> +    d->u2.y = s->u1.x * m[0][1] + s->u2.y * m[1][1] + s->u3.z * m[2][1] + m[3][1];
> +    d->u3.z = s->u1.x * m[0][2] + s->u2.y * m[1][2] + s->u3.z * m[2][2] + m[3][2];
> +}

I already have that second arg corrected to "D3DVECTOR *s" but I sent
the wrong version of the patch.
I will get the right one in on the next round.

-- Jeff



More information about the wine-devel mailing list