st/mesa: use proper resource target type in st_AllocTextureStorage()
authorBrian Paul <brianp@vmware.com>
Thu, 20 Jul 2017 16:51:45 +0000 (10:51 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 22 Jul 2017 19:18:56 +0000 (13:18 -0600)
commitb4debc0d6959b793d315f70fd9a354717d51522a
tree99112967e074157be5a12b3381d3dd689fd42bb7
parentaeade86db5761313f8b8c3c8555d3813d92e92ff
st/mesa: use proper resource target type in st_AllocTextureStorage()

When we validate the texture sample count, pass the correct
pipe_texture_target for the texture, rather than PIPE_TEXTURE_2D.

Also add more comments about MSAA.

No piglit regressions with VMware driver.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/state_tracker/st_cb_texture.c