i965/tex: Check if there is data to upload up-front
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 1 Jun 2017 00:04:13 +0000 (17:04 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Oct 2017 02:58:40 +0000 (19:58 -0700)
commit52f39d69108b3c3cb5406d361d78ccafdd7b9c86
treec2b72cd27f27b7e28739cd8e3d1c11beca2c3e89
parentd9ed4f6c32b4cb1d7e0f41b1f342c336e70c0af4
i965/tex: Check if there is data to upload up-front

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_tex_image.c