diff options
| author | Roland Scheidegger <sroland@vmware.com> | 2013-08-07 17:09:45 +0200 |
|---|---|---|
| committer | Roland Scheidegger <sroland@vmware.com> | 2013-08-08 18:55:57 +0200 |
| commit | eac57bc223dd2bf9d988b9f1ee0e126a27c98bf8 (patch) | |
| tree | bf1aa53ac80b49f229b4062f49d9b1eb4732685a /src/gallium/auxiliary/draw/draw_llvm_sample.c | |
| parent | c8572a9457f8fd32e64fcf4f55c080dff6bd77be (diff) | |
| download | external_mesa3d-eac57bc223dd2bf9d988b9f1ee0e126a27c98bf8.tar.gz external_mesa3d-eac57bc223dd2bf9d988b9f1ee0e126a27c98bf8.tar.bz2 external_mesa3d-eac57bc223dd2bf9d988b9f1ee0e126a27c98bf8.zip | |
gallivm: propagate scalar_lod to emit_size_query too
Clearly the returned values need to be per-element if the lod is per element.
Does not actually change behavior yet.
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm_sample.c b/src/gallium/auxiliary/draw/draw_llvm_sample.c index 0cb5c21035..3016d7c492 100644 --- a/src/gallium/auxiliary/draw/draw_llvm_sample.c +++ b/src/gallium/auxiliary/draw/draw_llvm_sample.c @@ -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); } |
