llvmpipe: stop using pipe_sampler_view_release()
authorBrian Paul <brianp@vmware.com>
Fri, 8 Mar 2019 21:08:13 +0000 (14:08 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 18 Mar 2019 02:07:22 +0000 (20:07 -0600)
commit2ff2a5877454a5bcfb53cf3b0c07cda239f13f74
tree31050b54b4bb3be9227ba6b0d5ef0a10687798f7
parenta7afab7952c37da3144795f6ea81b7a31f5249e2
llvmpipe: stop using pipe_sampler_view_release()

This was used to avoid freeing a sampler view which was created by a
context that was already deleted.  But the state tracker does not
allow that.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-By: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_sampler.c