[Mesa-dev] [PATCH 1/2] i965: Extract region use from hiz depth buffer

Chad Versace chad.versace at linux.intel.com
Wed Oct 9 23:49:50 CEST 2013


On 10/08/2013 04:27 PM, Ben Widawsky wrote:
> The HiZ buffer's allocation requirements were relaxed on Ivybridge.
> Following a "simple" formula in the bspec was all you needed to satisfy
> the requirement.
>
> To prepare the code for this, extract all places where the miptree was
> used, when we really only needed the region. This allows an upcoming
> patch to simply allocate the region, and not the whole miptree.
>
> v2: Don't use intel_region. Instead use bo + stride. We actually do
> store the stride in libdrm, but it is inaccessible in the current
> libdrm version.
>
> v3: Fix the commit message to read better (Matt)
> Use hiz_buffer.stride instead of hiz_region.pitch
> Kill temporary depth_mt variable.
> memset the temporary region variable (Chad)
>
> CC: Chad Versace <chad.versace at linux.intel.com>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

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



More information about the mesa-dev mailing list