mesa: Require mipmap completeness for glCopyImageSubData(), sometimes.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Feb 2017 23:04:52 +0000 (15:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 5 Apr 2017 00:35:18 +0000 (17:35 -0700)
commitc5bf7cb52942cb7df9f5d73746ffbf3c102d12cc
tree2d3bd59321d51fae3cf73531e9a092a43192b48f
parentc161a104629ad49dc6a4f7d1fe82e87fc08121fe
mesa: Require mipmap completeness for glCopyImageSubData(), sometimes.

This patch makes glCopyImageSubData require mipmap completeness when the
texture object's built-in sampler object has a mipmapping MinFilter.

Fixes (on i965):
dEQP-GLES31.functional.debug.negative_coverage.*.buffer.copy_image_sub_data

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/main/copyimage.c