From 689559d10f296c537783666eab1f0fb6668de792 Mon Sep 17 00:00:00 2001 From: Arvind Yadav Date: Thu, 5 May 2022 13:01:11 +0530 Subject: [PATCH] ac/llvm : Adding Number of all interpolated inputs in ac_shader_abi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- 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 */