Module: Mesa Branch: main Commit: 1c58614ceec106b6b0e7b76c5f33bfe489a37c2f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c58614ceec106b6b0e7b76c5f33bfe489a37c2f
Author: Icecream95 <[email protected]> Date: Sat May 1 22:44:45 2021 +1200 panfrost: Make pan_select_crc_rt a non-static function Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10566> --- src/panfrost/lib/pan_cs.c | 2 +- src/panfrost/lib/pan_cs.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/panfrost/lib/pan_cs.c b/src/panfrost/lib/pan_cs.c index f8be3f4cca4..0ff5b974ee0 100644 --- a/src/panfrost/lib/pan_cs.c +++ b/src/panfrost/lib/pan_cs.c @@ -294,7 +294,7 @@ pan_sample_pattern(unsigned samples) } } -static int +int pan_select_crc_rt(const struct panfrost_device *dev, const struct pan_fb_info *fb) { if (dev->arch < 7) { diff --git a/src/panfrost/lib/pan_cs.h b/src/panfrost/lib/pan_cs.h index ac27f688d00..e3e67d3bcb8 100644 --- a/src/panfrost/lib/pan_cs.h +++ b/src/panfrost/lib/pan_cs.h @@ -135,6 +135,10 @@ bool pan_fbd_has_zs_crc_ext(const struct panfrost_device *dev, const struct pan_fb_info *fb); +int +pan_select_crc_rt(const struct panfrost_device *dev, + const struct pan_fb_info *fb); + unsigned pan_emit_fbd(const struct panfrost_device *dev, const struct pan_fb_info *fb, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
