Re: [Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Jose Fonseca
- Original Message - > On Sat, Sep 8, 2012 at 8:39 AM, Dave Airlie > wrote: > > Hi, > > > > so I've been working on ARB_texture_cube_map_array, and it requires > > that sometimes TEX takes an extra src, since for sampler compare > > values there isn't enough space in one src, so we need to

Re: [Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Dave Airlie
On Sat, Sep 8, 2012 at 8:39 AM, Dave Airlie wrote: > Hi, > > so I've been working on ARB_texture_cube_map_array, and it requires > that sometimes TEX takes an extra src, since for sampler compare > values there isn't enough space in one src, so we need to add another. > > Now I've done a special c

[Mesa-dev] tgsi tex instruction + cube map arrays.

2012-09-08 Thread Dave Airlie
Hi, so I've been working on ARB_texture_cube_map_array, and it requires that sometimes TEX takes an extra src, since for sampler compare values there isn't enough space in one src, so we need to add another. Now I've done a special case in the GLSL->TGSI emitter else if (sampler_type->sampler_dim