Mesa (master): anv: Add anv_image::hiz_surface

Nanley Chery nchery at kemper.freedesktop.org
Fri Oct 7 19:57:07 UTC 2016


Module: Mesa
Branch: master
Commit: fe40d026a1400d7651d08eed5321c44beda9bb82
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe40d026a1400d7651d08eed5321c44beda9bb82

Author: Chad Versace <chad.versace at intel.com>
Date:   Thu Oct  6 15:21:47 2016 -0700

anv: Add anv_image::hiz_surface

Unused.

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>

---

 src/intel/vulkan/anv_private.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 4fa403f..dfcedd1 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1648,6 +1648,7 @@ anv_pipeline_setup_l3_config(struct anv_pipeline *pipeline, bool needs_slm);
  * Subsurface of an anv_image.
  */
 struct anv_surface {
+   /** Valid only if isl_surf::size > 0. */
    struct isl_surf isl;
 
    /**
@@ -1694,6 +1695,7 @@ struct anv_image {
 
       struct {
          struct anv_surface depth_surface;
+         struct anv_surface hiz_surface;
          struct anv_surface stencil_surface;
       };
    };




More information about the mesa-commit mailing list