gallivm: set non-existing values really to zero in size queries for d3d10
[mesa.git] / src / gallium / drivers / llvmpipe / lp_tex_sample.c
index 5402de407d567cfbf18bc6d93a3d2f82eef79829..68a4be932231b0b525fe7c760ed75492226d75f6 100644 (file)
@@ -281,7 +281,7 @@ lp_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)
@@ -296,7 +296,7 @@ lp_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);