gallivm: propagate scalar_lod to emit_size_query too
[mesa.git] / src / gallium / drivers / llvmpipe / lp_tex_sample.c
index 2fb6f5b3c27deb3f55408668375acca06dc49fae..2aec6ea86979fdcfb0bf0aa010dccf56b54a1974 100644 (file)
@@ -281,6 +281,7 @@ lp_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)
 {
@@ -294,6 +295,7 @@ lp_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);
 }