Re: [Mesa-dev] [PATCH 12/13] mesa: rework texture completeness testing

2012-03-20 Thread Brian Paul
On 03/20/2012 01:05 AM, Eric Anholt wrote: On Sun, 18 Mar 2012 10:49:28 -0600, Brian Paul wrote: -* Do mipmap consistency checking +* Do mipmap consistency checking. +* Note: we don't care about the current texture sampler state here. +* To determine texture completeness we'll e

Re: [Mesa-dev] [PATCH 12/13] mesa: rework texture completeness testing

2012-03-20 Thread Eric Anholt
On Sun, 18 Mar 2012 10:49:28 -0600, Brian Paul wrote: > -* Do mipmap consistency checking > +* Do mipmap consistency checking. > +* Note: we don't care about the current texture sampler state here. > +* To determine texture completeness we'll either look at _BaseComplete > +* o

[Mesa-dev] [PATCH 12/13] mesa: rework texture completeness testing

2012-03-18 Thread Brian Paul
Instead of gl_texture_object::_Complete there are now two fields: _BaseComplete and _MipmapComplete. The former indicates whether the base texture level is valid. The later indicates whether the whole mipmap is valid. With sampler objects, a single texture can appear to be both complete and inco