OSDN Git Service

st/mesa: use private pipe_sampler_view in decompress_with_blit()
authorBrian Paul <brianp@vmware.com>
Mon, 13 Feb 2012 21:48:36 +0000 (14:48 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Feb 2012 21:09:01 +0000 (14:09 -0700)
commit0315cb9f8f3ec38fa9594860754fb53a67cf4c23
tree8c4bf1aee8bc71e22f3108a3d89315ec08118e01
parentc5ba6a780769c61ffc7c5b1de94b583671bc5418
st/mesa: use private pipe_sampler_view in decompress_with_blit()

Similar to the previous commit.  Also fix incorrect setting of the
sampler view's state after it's created.  We need to specify the
first/last_level fields in the template instead.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_texture.c