gallium/rbug: correctly unreference a sampler view
authorMarek Olšák <marek.olsak@amd.com>
Mon, 22 Sep 2014 20:12:43 +0000 (22:12 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 12:48:02 +0000 (14:48 +0200)
commit2f7714e0717250c6737accc6c8259c6d9107fd6e
tree169aa7db2699ba707d22a1caaca3856722c61c7c
parent91ddf49c874829aa5f9d561d1e321651992ca127
gallium/rbug: correctly unreference a sampler view

This fixes heap corruption. The sampler view can be bound in the context,
so we cannot call destroy directly.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/rbug/rbug_objects.c