Re: [Mesa-dev] [PATCH 04/10] i965/msaa: Work around problems with null render targets on Gen6.

2012-07-24 Thread Chad Versace
On 07/18/2012 08:15 AM, Paul Berry wrote: On Gen6, multisampled null render targets don't seem to work properly--they cause the GPU to hang. So, as a workaround, we render into a dummy color buffer. Fortunately this situation (multisampled rendering without a color buffer) is rare, and we

Re: [Mesa-dev] [PATCH 04/10] i965/msaa: Work around problems with null render targets on Gen6.

2012-07-24 Thread Chad Versace
+ * To decrease the amount of memory needed by the workaround buffer, we + * set its pitch to 128 bytes (the width of a Y tile). This means that + * the amount of memory needed for the workaround buffer is + * (width_in_tiles + height_in_tiles - 1) tiles. It

Re: [Mesa-dev] [PATCH 04/10] i965/msaa: Work around problems with null render targets on Gen6.

2012-07-24 Thread Paul Berry
On 24 July 2012 11:24, Chad Versace chad.vers...@linux.intel.com wrote: On 07/18/2012 08:15 AM, Paul Berry wrote: On Gen6, multisampled null render targets don't seem to work properly--they cause the GPU to hang. So, as a workaround, we render into a dummy color buffer. Fortunately

[Mesa-dev] [PATCH 04/10] i965/msaa: Work around problems with null render targets on Gen6.

2012-07-18 Thread Paul Berry
On Gen6, multisampled null render targets don't seem to work properly--they cause the GPU to hang. So, as a workaround, we render into a dummy color buffer. Fortunately this situation (multisampled rendering without a color buffer) is rare, and we don't have to waste too much memory, because we