gallivm: Drop pos arg from lp_build_tgsi_soa.
Never used. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
34bec4a251
commit
6e833d4d09
|
@ -593,7 +593,6 @@ generate_vs(struct draw_llvm_variant *variant,
|
|||
NULL /*struct lp_build_mask_context *mask*/,
|
||||
consts_ptr,
|
||||
system_values,
|
||||
NULL /*pos*/,
|
||||
inputs,
|
||||
outputs,
|
||||
sampler,
|
||||
|
@ -2023,7 +2022,6 @@ draw_gs_llvm_generate(struct draw_llvm *llvm,
|
|||
&mask,
|
||||
consts_ptr,
|
||||
&system_values,
|
||||
NULL /*pos*/,
|
||||
NULL,
|
||||
outputs,
|
||||
sampler,
|
||||
|
|
|
@ -222,7 +222,6 @@ lp_build_tgsi_soa(struct gallivm_state *gallivm,
|
|||
struct lp_build_mask_context *mask,
|
||||
LLVMValueRef consts_ptr,
|
||||
const struct lp_bld_tgsi_system_values *system_values,
|
||||
const LLVMValueRef *pos,
|
||||
const LLVMValueRef (*inputs)[4],
|
||||
LLVMValueRef (*outputs)[4],
|
||||
struct lp_build_sampler_soa *sampler,
|
||||
|
@ -400,7 +399,6 @@ struct lp_build_tgsi_soa_context
|
|||
LLVMValueRef max_output_vertices_vec;
|
||||
|
||||
LLVMValueRef consts_ptr;
|
||||
const LLVMValueRef *pos;
|
||||
const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS];
|
||||
LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS];
|
||||
|
||||
|
|
|
@ -2742,7 +2742,6 @@ lp_build_tgsi_soa(struct gallivm_state *gallivm,
|
|||
struct lp_build_mask_context *mask,
|
||||
LLVMValueRef consts_ptr,
|
||||
const struct lp_bld_tgsi_system_values *system_values,
|
||||
const LLVMValueRef *pos,
|
||||
const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS],
|
||||
LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS],
|
||||
struct lp_build_sampler_soa *sampler,
|
||||
|
@ -2766,7 +2765,6 @@ lp_build_tgsi_soa(struct gallivm_state *gallivm,
|
|||
lp_build_context_init(&bld.bld_base.int_bld, gallivm, lp_int_type(type));
|
||||
lp_build_context_init(&bld.elem_bld, gallivm, lp_elem_type(type));
|
||||
bld.mask = mask;
|
||||
bld.pos = pos;
|
||||
bld.inputs = inputs;
|
||||
bld.outputs = outputs;
|
||||
bld.consts_ptr = consts_ptr;
|
||||
|
|
|
@ -353,7 +353,7 @@ generate_fs(struct gallivm_state *gallivm,
|
|||
/* Build the actual shader */
|
||||
lp_build_tgsi_soa(gallivm, tokens, type, &mask,
|
||||
consts_ptr, &system_values,
|
||||
interp->pos, interp->inputs,
|
||||
interp->inputs,
|
||||
outputs, sampler, &shader->info.base, NULL);
|
||||
|
||||
/* Alpha test */
|
||||
|
@ -606,7 +606,7 @@ generate_fs_loop(struct gallivm_state *gallivm,
|
|||
/* Build the actual shader */
|
||||
lp_build_tgsi_soa(gallivm, tokens, type, &mask,
|
||||
consts_ptr, &system_values,
|
||||
interp->pos, interp->inputs,
|
||||
interp->inputs,
|
||||
outputs, sampler, &shader->info.base, NULL);
|
||||
|
||||
/* Alpha test */
|
||||
|
|
Loading…
Reference in New Issue