llvmpipe: support rendering to buffer render targets.
authorRoland Scheidegger <sroland@vmware.com>
Wed, 27 Feb 2013 18:26:01 +0000 (19:26 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 28 Feb 2013 02:39:54 +0000 (03:39 +0100)
commit686f6c69bd36c537573f6e8095aaf24ec0ae4047
tree96da10fcfbfb255330ef0e2a28610b2cea96a1e5
parent2fcd3638be9526e0300964894e93fd4082fb6fdb
llvmpipe: support rendering to buffer render targets.

Unfortunately not usable from OpenGL, and no cap bit.
Pretty similar to a 1d texture, though allows specifying a start element.

v2: also fix up renderbuffer width (which will get promoted to fb width)
to be the number of elements

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast_priv.h
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_texture.c