Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread Olivier Galibert
On Thu, Feb 25, 2010 at 11:00:28AM -0700, Brian Paul wrote: > We should also be thinking about texture array targets. With a 2D > texture array, the S and T coords would be normalized, but not R. > > I think we either need new texture targets for RECT, 1D_ARRAY, > 2D_ARRAY, etc. or per-dimensio

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread Christoph Bumiller
On 25.02.2010 19:00, Brian Paul wrote: > Roland Scheidegger wrote: > >> On 25.02.2010 18:39, michal wrote: >> >>> Roland Scheidegger wrote on 2010-02-24 15:18: >>> On 24.02.2010 12:48, Christoph Bumiller wrote: > This wasn't a problem before because tex

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread michal
Christoph Bumiller wrote on 2010-02-25 19:39: > On 25.02.2010 19:00, Brian Paul wrote: > >> Roland Scheidegger wrote: >> >> >>> On 25.02.2010 18:39, michal wrote: >>> >>> Roland Scheidegger wrote on 2010-02-24 15:18: > On 24.02.2010 12:48, C

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread Brian Paul
Roland Scheidegger wrote: > On 25.02.2010 18:39, michal wrote: >> Roland Scheidegger wrote on 2010-02-24 15:18: >>> On 24.02.2010 12:48, Christoph Bumiller wrote: >>> This wasn't a problem before because textures and samplers were linked 1:1, but in view of the gallium-gpu4-texture-opc

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread Alex Deucher
On Thu, Feb 25, 2010 at 12:39 PM, michal wrote: > Roland Scheidegger wrote on 2010-02-24 15:18: >> On 24.02.2010 12:48, Christoph Bumiller wrote: >> >>> This wasn't a problem before because textures and samplers were >>> linked 1:1, but in view of the gallium-gpu4-texture-opcodes branch, >>> this

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread Roland Scheidegger
On 25.02.2010 18:39, michal wrote: > Roland Scheidegger wrote on 2010-02-24 15:18: >> On 24.02.2010 12:48, Christoph Bumiller wrote: >> >>> This wasn't a problem before because textures and samplers were >>> linked 1:1, but in view of the gallium-gpu4-texture-opcodes branch, >>> this coordinate

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-25 Thread michal
Roland Scheidegger wrote on 2010-02-24 15:18: > On 24.02.2010 12:48, Christoph Bumiller wrote: > >> This wasn't a problem before because textures and samplers were >> linked 1:1, but in view of the gallium-gpu4-texture-opcodes branch, >> this coordinate normalization bit becomes a problem. >> >>

Re: [Mesa3d-dev] move normalized texel coordinates bit to sampler view

2010-02-24 Thread Roland Scheidegger
On 24.02.2010 12:48, Christoph Bumiller wrote: > This wasn't a problem before because textures and samplers were > linked 1:1, but in view of the gallium-gpu4-texture-opcodes branch, > this coordinate normalization bit becomes a problem. > > NV50 hardware has that bit in the RESOURCE binding, and