nv50: count wrapped textures towards the tex_obj count
authorJoakim Sindholt <opensource@zhasha.com>
Mon, 8 Jul 2013 14:05:39 +0000 (16:05 +0200)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 23 May 2014 16:34:39 +0000 (12:34 -0400)
commit404387ecd72a4a9ace8c1fa6895823aabfd759ad
tree31685661fd3f833961faf4c441fd03b885d9e1ee
parentcaa34a7a640b150c15deafc41e7712417abcb270
nv50: count wrapped textures towards the tex_obj count

But don't count their size towards the allocated memory, since that
belongs to whoever created it.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_miptree.c