r600g: clear compressed_depthtex/colortex_mask when binding buffer texture
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 11 Mar 2016 02:19:56 +0000 (21:19 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 11 Mar 2016 13:00:15 +0000 (08:00 -0500)
commite502801d9843984233426f1b31e42bf6095d63be
tree66fbbfbfa2abe5211d11bd4ed7e8ebd4c74da7ac
parentf8ea98e4ec4078924f79b0aadd2754726b835f5c
r600g: clear compressed_depthtex/colortex_mask when binding buffer texture

Found by inspection of the source based on a bisected bug report.

This bug has been in the code for a long time, but the more recent PBO upload
feature exposed it because it leads to more uses of buffer textures.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94388
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "11.0 11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/r600/r600_state_common.c