I had to use a debugger to deduce what total_width/height really were. This patch is for the benefit of those who come after so they don't have to dig as hard.
Signed-off-by: Chad Versace <chad.vers...@linux.intel.com> --- src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h index bc55e26..1c852ff 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h @@ -265,7 +265,12 @@ struct intel_mipmap_tree */ enum intel_msaa_layout msaa_layout; - /* Derived from the above: + /** + * The total physical size of the miptree, including all levels, slices, + * and padding. + * + * \see physical_width0 + * \see physical_height0 */ GLuint total_width; GLuint total_height; -- 1.8.1.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev