OSDN Git Service

mesa: RGB9_E5 invalid for CopyTexSubImage* in GLES
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 14 Mar 2018 17:09:34 +0000 (17:09 +0000)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Fri, 16 Mar 2018 12:49:16 +0000 (12:49 +0000)
commit705a6446b4301498b83789a19d81aed4e922548b
tree959169cdd54eb8acc9b75e11ab220e2715f66b07
parent5e51f72374ddd9394e69ae8c5733b004887a5d89
mesa: RGB9_E5 invalid for CopyTexSubImage* in GLES

According to OpenGL ES 3.2, section 8.6, CopyTexSubImage* should return
an INVALID_OPERATION if the internalformat of the texture is RGB9_E5.

This fixes
dEQP-GLES31.functional.debug.negative_coverage.*.copytexsubimage2d_texture_internalformat.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/main/teximage.c