diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 467f07420e2..e8e837a9785 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -588,16 +588,12 @@ generate_vs(struct draw_llvm_variant *variant, draw_jit_context_vs_constants(variant->gallivm, context_ptr); LLVMValueRef num_consts_ptr = draw_jit_context_num_vs_constants(variant->gallivm, context_ptr); - struct lp_build_sampler_soa *sampler = 0; if (gallivm_debug & (GALLIVM_DEBUG_TGSI | GALLIVM_DEBUG_IR)) { tgsi_dump(tokens, 0); draw_llvm_dump_variant_key(&variant->key); } - if (llvm->draw->num_sampler_views && llvm->draw->num_samplers) - sampler = draw_sampler; - lp_build_tgsi_soa(variant->gallivm, tokens, vs_type, @@ -607,7 +603,7 @@ generate_vs(struct draw_llvm_variant *variant, system_values, inputs, outputs, - sampler, + draw_sampler, &llvm->draw->vs.vertex_shader->info, NULL); |