diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.h b/src/gallium/auxiliary/gallivm/lp_bld_nir.h index e78b94017ae..3427bb23bb7 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.h @@ -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 { diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c index 5216131dbc3..2fb53f1f69e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c @@ -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; diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c b/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c index 8d946913f14..3908bbcbffa 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs_linear_llvm.c @@ -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); }