Mesa (main): ac/llvm : Adding Number of all interpolated inputs in ac_shader_abi

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jul 16 11:33:25 UTC 2022


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

Author: Arvind Yadav <arvind.yadav at amd.com>
Date:   Thu May  5 13:19:11 2022 +0530

ac/llvm : Adding Number of all interpolated inputs in ac_shader_abi

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

---

 src/amd/llvm/ac_shader_abi.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/amd/llvm/ac_shader_abi.h b/src/amd/llvm/ac_shader_abi.h
index 390d694bf74..6ddbc7f9c0e 100644
--- a/src/amd/llvm/ac_shader_abi.h
+++ b/src/amd/llvm/ac_shader_abi.h
@@ -128,6 +128,9 @@ struct ac_shader_abi {
    /* Whether to detect divergent textures/samplers index and apply
     * waterfall to avoid incorrect rendering. */
    bool use_waterfall_for_divergent_tex_samplers;
+
+   /* Number of all interpolated inputs */
+   unsigned num_interp;
 };
 
 #endif /* AC_SHADER_ABI_H */



More information about the mesa-commit mailing list