meta: In pbo_{Get,}TexSubImage don't repeatedly rebind the source tex
authorNeil Roberts <neil@linux.intel.com>
Wed, 25 Feb 2015 15:10:01 +0000 (15:10 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 26 Feb 2015 12:04:21 +0000 (12:04 +0000)
commita44606eb8164be2aa37eb288fd90894d74bd0935
tree4edb61f640252b7bbc2a6bc92ff5899f805d0164
parent1a93e7690dc90211164082d6a2d26d93da8127ef
meta: In pbo_{Get,}TexSubImage don't repeatedly rebind the source tex

A layered PBO image is now interpreted as a single tall 2D image so
the z argument in _mesa_meta_bind_fbo_image is ignored. Therefore this
was just redundantly rebinding the same image repeatedly.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/common/meta_tex_subimage.c