Mesa (main): nir: Drop nir_shader_get_xfb_info

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 31 23:42:12 UTC 2022


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

Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Fri May 27 12:33:11 2022 -0500

nir: Drop nir_shader_get_xfb_info

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16750>

---

 src/compiler/nir/nir_gather_xfb_info.c | 6 ------
 src/compiler/nir/nir_xfb_info.h        | 3 ---
 2 files changed, 9 deletions(-)

diff --git a/src/compiler/nir/nir_gather_xfb_info.c b/src/compiler/nir/nir_gather_xfb_info.c
index 12e61bc8852..b2618c11af0 100644
--- a/src/compiler/nir/nir_gather_xfb_info.c
+++ b/src/compiler/nir/nir_gather_xfb_info.c
@@ -178,12 +178,6 @@ compare_xfb_output_offsets(const void *_a, const void *_b)
    return a->offset - b->offset;
 }
 
-nir_xfb_info *
-nir_shader_get_xfb_info(const nir_shader *shader, void *mem_ctx)
-{
-   return nir_gather_xfb_info_with_varyings(shader, mem_ctx, NULL);
-}
-
 void
 nir_shader_gather_xfb_info(nir_shader *shader)
 {
diff --git a/src/compiler/nir/nir_xfb_info.h b/src/compiler/nir/nir_xfb_info.h
index f4e9f2d9d09..83c2b0f67e6 100644
--- a/src/compiler/nir/nir_xfb_info.h
+++ b/src/compiler/nir/nir_xfb_info.h
@@ -74,9 +74,6 @@ nir_xfb_info_size(uint16_t output_count)
    return sizeof(nir_xfb_info) + sizeof(nir_xfb_output_info) * output_count;
 }
 
-nir_xfb_info *
-nir_shader_get_xfb_info(const nir_shader *shader, void *mem_ctx);
-
 void nir_shader_gather_xfb_info(nir_shader *shader);
 
 nir_xfb_info *



More information about the mesa-commit mailing list