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.vers...@linux.intel.com>
Signed-off-by: Ben Widawsky <b...@bwidawsk.net>
Patch 1 is
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