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

Chad Versace chad.versace at linux.intel.com
Tue Jul 24 11:34:48 PDT 2012

>> +       * 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 took me several minutes to see why this was the lower bound of needed memory.

I chose an inappropriate, though technically correct, phrase. That is indeed a
lower bound on the amount of memory we need to allocate. But 0 bytes is also a
lower bound. The bound you chose is a very nice lower bound, though, because it
also an upper bound.

> Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

More information about the mesa-dev mailing list