gallivm: propagate scalar_lod to emit_size_query too
authorRoland Scheidegger <sroland@vmware.com>
Wed, 7 Aug 2013 15:09:45 +0000 (17:09 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 8 Aug 2013 16:55:57 +0000 (18:55 +0200)
commiteac57bc223dd2bf9d988b9f1ee0e126a27c98bf8
treebf1aa53ac80b49f229b4062f49d9b1eb4732685a
parentc8572a9457f8fd32e64fcf4f55c080dff6bd77be
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>
src/gallium/auxiliary/draw/draw_llvm_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_tex_sample.c