commit | f7b80d70560818f6d2e53b99a26f71bcd92c7db1 | [log] [tgz] |
---|---|---|
author | Eduardo Lima Mitev <elima@igalia.com> | Wed Mar 25 20:54:17 2015 +0100 |
committer | Samuel Iglesias Gonsalvez <siglesias@igalia.com> | Mon Jul 27 11:25:45 2015 +0200 |
tree | 477fbfba393cb721e023c591a358c29027d09eb2 | |
parent | 3344da38fd8302b53118dd1de4fceda7ba62fb0c [diff] |
mesa: Add missing check of format and type in glTexSubImageXD on GLES 3.0 Argument validation for glTexSubImageXD is missing a check of format and type against texture object's internal format when profile is OpenGL-ES 3.0+. This patch also groups together all format and type checks into a single block of code for clarity. Fixes 2 dEQP tests: * dEQP-GLES3.functional.negative_api.texture.texsubimage2d * dEQP-GLES3.functional.negative_api.texture.texsubimage3d