llvmpipe: support array textures
authorRoland Scheidegger <sroland@vmware.com>
Thu, 29 Nov 2012 03:08:32 +0000 (04:08 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 29 Nov 2012 14:30:19 +0000 (15:30 +0100)
commit6d50148742512606f2abd76a2dcef6c87a5c7471
treeb4462102a3c05026995126a4e10f717923a0eb0b
parent95e03914d82f4a3722cda00cd6eda54a6f328a73
llvmpipe: support array textures

This adds array (1d,2d) texture support to llvmpipe.
Though probably should do something about 1d array textures requiring gobs
of memory (this issue is not strictly limited to arrays but it is probably
worse there).
Initial code by Jakob Bornecrantz <jakob@vmware.com>

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_limits.h
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h