cso: fix stream-out clean up in cso_release_all()
authorBrian Paul <brianp@vmware.com>
Sun, 8 Jun 2014 12:26:02 +0000 (05:26 -0700)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 12 Jun 2014 12:23:56 +0000 (13:23 +0100)
commit33f273778b8c864f52d1b1096a49f053490bf8ca
treef763a851bc4fc01ef3dd8aad0343b16563915c00
parent765efeef883cdbb86e052acd887e0c3c0e39b732
cso: fix stream-out clean up in cso_release_all()

Use the has_streamout flag as we do elsewhere to check if we need
to call pipe->set_stream_output_targets().  The driver might implement
the set_stream_output_targets() function, but not for all hardware
configurations.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/cso_cache/cso_context.c