[1/3] WineD3D: Fix texdp3tex in glsl

H. Verbeet hverbeet at gmail.com
Fri Aug 31 04:46:48 CDT 2007


On 31/08/2007, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> Am Freitag, 31. August 2007 09:35 schrieb H. Verbeet:
> > On 30/08/2007, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> >
> > The preferred way to do that is to use shader_glsl_get_sample_function().
> Yes, but additionally to the sampling function I needed the dimension of the
> vector cast, so I'd have needed a switch myself too.
>
shader_glsl_get_sample_function() also gives you back a mask, which
you can use to determine the size.



More information about the wine-patches mailing list