[5/7] wined3d: Fix glsl texbem instruction for projective
textures
Fabian Bieler
der.fabe at gmx.net
Thu Mar 22 14:52:31 CDT 2007
On Thursday 22 March 2007 20:34, H. Verbeet wrote:
> On 22/03/07, Fabian Bieler <der.fabe at gmx.net> wrote:
> > + shader_addline(arg->buffer, "T%u%s /= T%u%s;\n", sampler_idx,
> > coord_mask, sampler_idx, coord_div_mask);
>
> Are you sure that's correct? This will modify the coordinates for
> later instructions as well.
The texbem instruction can only be used in pixel shaders up to version 1.3, so
the data in the used texture coordinate register is overwritten with the
texture color data anyhow.
More information about the wine-devel
mailing list