[wined3d] D3DCOLOR fixup begin

Raphael fenix at club-internet.fr
Thu Nov 3 19:15:56 CST 2005


Hi,

> > > Changelog:
> > >   - defined D3DCOLOR_B macros to access byte values of D3DCOLOR
> > >   - use D3DCOLOR macros instead of using shift + masks
> > >   - fix a bug where diffuse.lpData checked instead of specular.lpData
> > >   - implement color fixup on ARB VShader compilation code:
> > >      ->  on input parameters using swizzle
> > >      -> add is_color parameter on vshader_program_add_param
> >
> > The input swizzel needs to be an output swizzel because it should be
> > possible to use anything to generate a colour for output and not just the
> > input colours, that should also get around the is_colour problem.
>
> Having thought about it again the swizell need to be on the input, it
> shouldn't be too hard to work out which inputs need to be swizelled in the
> parser first pass.
>

i think the same :)
anyway i have added is_color on output_param if you want to try ... :p
(i think only a few few few games may have problems with that this sizzle on 
input params)

Regards,
Raphael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20051104/4147c1b1/attachment.pgp


More information about the wine-devel mailing list