llvmpipe: clear storage for newly allocated resources
authorKeith Whitwell <keithw@vmware.com>
Wed, 22 Dec 2010 14:04:42 +0000 (14:04 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 3 Feb 2012 18:51:14 +0000 (18:51 +0000)
commit9a1fd9a37ce3ee2ede5bef5cf508a02f3bdb6098
tree23bf97b3ef46de38f599c8b7f393c3701ef1470c
parent87b4c9b322dabeba7c9a9d02e9efefd2c89e6625
llvmpipe: clear storage for newly allocated resources

Was previously being done in a state-tracker, but in a way which was
difficult for some drivers to optimize.  Push down to this level and
make it the individual drivers responsibility.
src/gallium/drivers/llvmpipe/lp_texture.c