Re: [3/8] wined3d: Create a separate function for sampling a texture

2006-11-27 Thread H. Verbeet
On 28/11/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: H. Verbeet wrote: That's because they're shaders v1 instructions, which are being phased out [ not applicable to glsl backend at all ]. But of course we still have to support them. Old things should be layered on new infrastructure, so thos

Re: [3/8] wined3d: Create a separate function for sampling a texture

2006-11-27 Thread Ivan Gyurdiev
H. Verbeet wrote: On 27/11/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: H. Verbeet wrote: > There are a couple of instructions that have to sample from a texture, > right now most of them duplicate that code, and hardcode the texture > type. > > Changelog: > - Create a separate function for sam

Re: [3/8] wined3d: Create a separate function for sampling a texture

2006-11-27 Thread H. Verbeet
On 27/11/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: H. Verbeet wrote: > There are a couple of instructions that have to sample from a texture, > right now most of them duplicate that code, and hardcode the texture > type. > > Changelog: > - Create a separate function for sampling a texture You

Re: [3/8] wined3d: Create a separate function for sampling a texture

2006-11-27 Thread Ivan Gyurdiev
H. Verbeet wrote: There are a couple of instructions that have to sample from a texture, right now most of them duplicate that code, and hardcode the texture type. Changelog: - Create a separate function for sampling a texture You should continue to use "add_param" or "get_register_name". There