mesa: create multisample fallback textures like normal textures
authorMarek Olšák <marek.olsak@amd.com>
Sun, 23 Aug 2015 22:22:37 +0000 (00:22 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 26 Aug 2015 13:42:26 +0000 (15:42 +0200)
commitf432ae899fb81468778dbeb17ac7615da3ed5c0d
tree8181f698f5afbd6587094686d9f2154ba5bae8a3
parentf8b01ae47cc4760d5687e50f3315b5a89e19cd26
mesa: create multisample fallback textures like normal textures

This works if drivers upsample on upload (like all radeon ones do).
The alternative is an unexpected GL error from anything calling
_mesa_update_state and possibly other issues.

Cc: 10.6 11.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/texstore.c