Re: [Mesa-dev] [PATCH 11/17] i965/gen6 depth surface: program 3DSTATE_DEPTH_BUFFER to top of surface

2014-08-01 Thread Pohjolainen, Topi
On Thu, Jul 31, 2014 at 01:09:17AM -0700, Jordan Justen wrote: On Tue, Jul 22, 2014 at 3:09 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, Jul 18, 2014 at 02:16:46PM -0700, Jordan Justen wrote: (bf25ee2 for gen6) Previously we would always find the 2D sub-surface of

Re: [Mesa-dev] [PATCH 11/17] i965/gen6 depth surface: program 3DSTATE_DEPTH_BUFFER to top of surface

2014-07-31 Thread Jordan Justen
On Tue, Jul 22, 2014 at 3:09 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, Jul 18, 2014 at 02:16:46PM -0700, Jordan Justen wrote: (bf25ee2 for gen6) Previously we would always find the 2D sub-surface of interest, and then program the surface to this location. Now we always

Re: [Mesa-dev] [PATCH 11/17] i965/gen6 depth surface: program 3DSTATE_DEPTH_BUFFER to top of surface

2014-07-22 Thread Pohjolainen, Topi
On Fri, Jul 18, 2014 at 02:16:46PM -0700, Jordan Justen wrote: (bf25ee2 for gen6) Previously we would always find the 2D sub-surface of interest, and then program the surface to this location. Now we always program the 3DSTATE_DEPTH_BUFFER at the start of the surface. To select the

[Mesa-dev] [PATCH 11/17] i965/gen6 depth surface: program 3DSTATE_DEPTH_BUFFER to top of surface

2014-07-18 Thread Jordan Justen
(bf25ee2 for gen6) Previously we would always find the 2D sub-surface of interest, and then program the surface to this location. Now we always program the 3DSTATE_DEPTH_BUFFER at the start of the surface. To select the lod/slice, we utilize the lod minimum array element fields. We also must