diff options
author | Roland Scheidegger <sroland@vmware.com> | 2013-08-08 17:18:44 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2013-08-09 20:49:19 +0200 |
commit | 894d4903e7325620fa2344ce1640658346b3e75f (patch) | |
tree | bd53869ca88a3b40cafe64851e55384790c1bf0e /src/gallium/auxiliary/draw/draw_llvm_sample.c | |
parent | b0f74250e1496d4872fd731b45049868b3efc883 (diff) | |
download | external_mesa3d-894d4903e7325620fa2344ce1640658346b3e75f.zip external_mesa3d-894d4903e7325620fa2344ce1640658346b3e75f.tar.gz external_mesa3d-894d4903e7325620fa2344ce1640658346b3e75f.tar.bz2 |
gallivm: set non-existing values really to zero in size queries for d3d10
My previous attempt at doing so double-failed miserably (minification of
zero still gives one, and even if it would not the value was never written
anyway).
While here also rename the confusingly named int_vec bld as we have int vecs
of different sizes, and rename need_nr_mips (as this also changes out-of-bounds
behavior) to is_sviewinfo too.
Reviewed-by: Zack Rusin <zackr@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_llvm_sample.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm_sample.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm_sample.c b/src/gallium/auxiliary/draw/draw_llvm_sample.c index f10cba3..97b0255 100644 --- a/src/gallium/auxiliary/draw/draw_llvm_sample.c +++ b/src/gallium/auxiliary/draw/draw_llvm_sample.c @@ -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); |