gallivm: set non-existing values really to zero in size queries for d3d10
[mesa.git] / src / gallium / auxiliary / draw / draw_llvm_sample.c
index f10cba3279c590e30dd5c2baf3555807a3810662..97b025565c3106c209bb6fbc5e626912af0404f9 100644 (file)
@@ -271,7 +271,7 @@ draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base,
                                       struct lp_type type,
                                       unsigned texture_unit,
                                       unsigned target,
-                                      boolean need_nr_mips,
+                                      boolean is_sviewinfo,
                                       boolean scalar_lod,
                                       LLVMValueRef explicit_lod, /* optional */
                                       LLVMValueRef *sizes_out)
@@ -286,7 +286,7 @@ draw_llvm_sampler_soa_emit_size_query(const struct lp_build_sampler_soa *base,
                            type,
                            texture_unit,
                            target,
-                           need_nr_mips,
+                           is_sviewinfo,
                            scalar_lod,
                            explicit_lod,
                            sizes_out);