Mesa (main): gallium/tgsi: remove unused helper

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 25 20:02:02 UTC 2021


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Mon Aug 23 14:06:24 2021 +0200

gallium/tgsi: remove unused helper

Acked-by: Roland Scheidegger <sroland at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12505>

---

 src/gallium/auxiliary/tgsi/tgsi_ureg.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
index 1b69c873090..5b8fbca49ad 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h
@@ -193,21 +193,6 @@ ureg_DECL_fs_input_cyl_centroid(struct ureg_program *,
                        unsigned array_id,
                        unsigned array_size);
 
-static inline struct ureg_src
-ureg_DECL_fs_input_cyl(struct ureg_program *ureg,
-                       enum tgsi_semantic semantic_name,
-                       unsigned semantic_index,
-                       enum tgsi_interpolate_mode interp_mode,
-                       unsigned cylindrical_wrap)
-{
-   return ureg_DECL_fs_input_cyl_centroid(ureg,
-                                 semantic_name,
-                                 semantic_index,
-                                 interp_mode,
-                                 cylindrical_wrap,
-                                 TGSI_INTERPOLATE_LOC_CENTER, 0, 1);
-}
-
 static inline struct ureg_src
 ureg_DECL_fs_input(struct ureg_program *ureg,
                    enum tgsi_semantic semantic_name,



More information about the mesa-commit mailing list