meta: do the full FBO completeness check in decompress_texture_image
authorMarek Olšák <marek.olsak@amd.com>
Tue, 20 Jun 2017 11:44:31 +0000 (13:44 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 21 Jun 2017 23:48:30 +0000 (01:48 +0200)
commitd28cc798bdf10c7e85189dc2dc3461d63e2fbfc7
treef731f897bb0b20368c8f093410f1229c885dd1b3
parent6a86795a3d1cc50b38c8c10c951037d39bd42e79
meta: do the full FBO completeness check in decompress_texture_image

_mesa_update_state will no longer recompute Width/Height if the framebuffer
is complete. We now rely on the FBO completeness check to do it.

The only code that needs to be fixed seems to be this one.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/common/meta.c