Re: [Mesa-dev] depth writing and missing something

2010-09-30 Thread Marek Olšák
On Thu, Sep 30, 2010 at 4:57 PM, Brian Paul wrote: > On 09/29/2010 07:34 PM, Dave Airlie wrote: > >> So I've been playing with stencil writing on r600, and it lead me to >> examine the depth writing. >> >> So at the moment in gallium if we are writing to depth via DrawPixels, >> we construct a fr

Re: [Mesa-dev] depth writing and missing something

2010-09-30 Thread José Fonseca
On Thu, 2010-09-30 at 07:57 -0700, Brian Paul wrote: > On 09/29/2010 07:34 PM, Dave Airlie wrote: > > So I've been playing with stencil writing on r600, and it lead me to > > examine the depth writing. > > > > So at the moment in gallium if we are writing to depth via DrawPixels, > > we construct a

Re: [Mesa-dev] depth writing and missing something

2010-09-30 Thread Brian Paul
On 09/29/2010 07:34 PM, Dave Airlie wrote: So I've been playing with stencil writing on r600, and it lead me to examine the depth writing. So at the moment in gallium if we are writing to depth via DrawPixels, we construct a fragment program that samples from a texture. TEX OUT[0].z, IN[1], SAM

Re: [Mesa-dev] depth writing and missing something

2010-09-30 Thread Brian Paul
Actually, how bits are packed in texels is orthogonal to understanding what the TEX/TXP/etc instructions return. I think the current table is in the right place but we should probably have another table elsewhere that explains all the texel/pixel layouts. -Brian On 09/30/2010 01:08 AM, Co

Re: [Mesa-dev] depth writing and missing something

2010-09-30 Thread Corbin Simpson
On Behalf Of > Jose Fonseca [jfons...@vmware.com] > Sent: Thursday, September 30, 2010 7:28 > To: Dave Airlie; mesa-dev@lists.freedesktop.org > Subject: Re: [Mesa-dev] depth writing and missing something > > There are two things to consider: u_format.csv description for dep

Re: [Mesa-dev] depth writing and missing something

2010-09-29 Thread Jose Fonseca
eca=vmware@lists.freedesktop.org] On Behalf Of Jose Fonseca [jfons...@vmware.com] Sent: Thursday, September 30, 2010 7:28 To: Dave Airlie; mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] depth writing and missing something There are two things to consider: u_format.csv description for depth st

Re: [Mesa-dev] depth writing and missing something

2010-09-29 Thread Jose Fonseca
gmail.com] Sent: Thursday, September 30, 2010 2:34 To: mesa-dev@lists.freedesktop.org Subject: [Mesa-dev] depth writing and missing something So I've been playing with stencil writing on r600, and it lead me to examine the depth writing. So at the moment in gallium if we are writing to dept

[Mesa-dev] depth writing and missing something

2010-09-29 Thread Dave Airlie
So I've been playing with stencil writing on r600, and it lead me to examine the depth writing. So at the moment in gallium if we are writing to depth via DrawPixels, we construct a fragment program that samples from a texture. TEX OUT[0].z, IN[1], SAMP[0], 2D Now from what I can see the format