gallivm: drop unused info parameter

This isn't used.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24804>
This commit is contained in:
Dave Airlie 2023-08-02 13:19:15 +10:00
parent 6079c3ca49
commit 5120139958
3 changed files with 3 additions and 6 deletions

View file

@ -47,8 +47,7 @@ void lp_build_nir_aos(struct gallivm_state *gallivm,
LLVMValueRef consts_ptr,
const LLVMValueRef *inputs,
LLVMValueRef *outputs,
const struct lp_build_sampler_aos *sampler,
const struct tgsi_shader_info *info);
const struct lp_build_sampler_aos *sampler);
struct lp_build_nir_context
{

View file

@ -363,8 +363,7 @@ lp_build_nir_aos(struct gallivm_state *gallivm,
LLVMValueRef consts_ptr,
const LLVMValueRef *inputs,
LLVMValueRef *outputs,
const struct lp_build_sampler_aos *sampler,
const struct tgsi_shader_info *info)
const struct lp_build_sampler_aos *sampler)
{
struct lp_build_nir_aos_context bld;

View file

@ -176,8 +176,7 @@ llvm_fragment_body(struct lp_build_context *bld,
lp_build_nir_aos(gallivm, clone, fs_type,
rgba_order ? rgba_swizzles : bgra_swizzles,
consts_ptr, inputs, outputs,
&sampler->base,
&shader->info.base);
&sampler->base);
ralloc_free(clone);
}