gallium/u_blitter: implement buffer clearing
authorMarek Olšák <maraeo@gmail.com>
Sun, 21 Apr 2013 17:39:03 +0000 (19:39 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 23 Apr 2013 18:26:20 +0000 (20:26 +0200)
commit1ba46bbb4c99caa7e297f2ec6717e962765275cb
tree19b3984a931d9e85c9c2f8f4ed65b68fa25dca22
parentedd90a19ca2a13b8694f2560e77c9f02446cfaa7
gallium/u_blitter: implement buffer clearing

Although this might be useful for ARB_clear_buffer_object,
I need it for initializating resources in r600g.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
v2: comment cleanups

NOTE: This is a candidate for the 9.1 branch.
src/gallium/auxiliary/util/u_blitter.c
src/gallium/auxiliary/util/u_blitter.h