>> +       * 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.vers...@linux.intel.com>


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to