gallivm: propagate scalar_lod to emit_size_query too
[mesa.git] / src / gallium / auxiliary / draw / draw_llvm_sample.c
index 0cb5c2103510f8de9bcb2f0185431cd3b87f9606..3016d7c49208f2fca8997ab1fe0212713dff20aa 100644 (file)
@@ -271,6 +271,7 @@ draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base,
                                       struct lp_type type,
                                       unsigned texture_unit,
                                       boolean need_nr_mips,
+                                      boolean scalar_lod,
                                       LLVMValueRef explicit_lod, /* optional */
                                       LLVMValueRef *sizes_out)
 {
@@ -284,6 +285,7 @@ draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base,
                            type,
                            texture_unit,
                            need_nr_mips,
+                           scalar_lod,
                            explicit_lod,
                            sizes_out);
 }