nvc0: unreference images when the context is destroyed
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 May 2016 14:25:45 +0000 (16:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 May 2016 13:15:32 +0000 (15:15 +0200)
commit44de03b0f8e14285d3a870934f805846b1d90f19
treecd3f9189753da9fef826ea6d6404162115868b9b
parent8ae78f7d2828778a386ed1737f17add69eb035a9
nvc0: unreference images when the context is destroyed

Like other resources, we need to unreference all images.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_context.c