gallivm: convert size query to using a set of parameters.
authorDave Airlie <airlied@redhat.com>
Mon, 18 Apr 2016 01:45:12 +0000 (11:45 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 18 Apr 2016 21:33:39 +0000 (07:33 +1000)
commit3a26ef23e78f811abdfe657b52b9bc057b9ce5b6
treec883b658fe51853a506bc80d1fe1f4f4e79398e3
parent3227c10270f8b7e8bb66bb7d50531fec8be75adb
gallivm: convert size query to using a set of parameters.

This isn't currently that easy to expand, so fix it up
before expanding it later to include dynamic samplers.

[airlied: use some local variables (Roland)]

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.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
src/gallium/drivers/swr/swr_tex_sample.cpp