[Mesa-dev] [PATCH 08/12] isl: Make MSAA pixel scaling function public

Nanley Chery nanleychery at gmail.com
Thu Sep 1 03:29:54 UTC 2016


This will be used in the next commit.

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
 src/intel/isl/isl.c | 2 +-
 src/intel/isl/isl.h | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
index 1664dbf..811760a 100644
--- a/src/intel/isl/isl.c
+++ b/src/intel/isl/isl.c
@@ -286,7 +286,7 @@ isl_choose_msaa_layout(const struct isl_device *dev,
    }
 }
 
-static void
+void
 isl_msaa_interleaved_scale_px_to_sa(uint32_t samples,
                                     uint32_t *width, uint32_t *height)
 {
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 507b342..ecedc05 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -1428,6 +1428,10 @@ isl_tiling_get_intratile_offset_sa(const struct isl_device *dev,
    *y_offset_sa *= fmtl->bh;
 }
 
+void
+isl_msaa_interleaved_scale_px_to_sa(uint32_t samples,
+                                    uint32_t *width, uint32_t *height);
+
 /**
  * @brief Get value of 3DSTATE_DEPTH_BUFFER.SurfaceFormat
  *
-- 
2.9.3



More information about the mesa-dev mailing list