etnaviv: clean up sampler view reference counting
authorLucas Stach <l.stach@pengutronix.de>
Wed, 10 May 2017 16:01:07 +0000 (18:01 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Tue, 16 May 2017 19:07:51 +0000 (21:07 +0200)
commitba0b7de7e36a5032c709ce1f9b36706bdbba5097
tree4355ffcb1feab75a2b2887007d0e9e3e45120f83
parentf8a39914586de004759ea9cbda1335bdf0790cdc
etnaviv: clean up sampler view reference counting

Use the proper pipe_resource_reference function instead of
rolling our own.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_texture.c