commit | f9139ed3a1388d7b91ba121aee02e94cf39c66d6 | [log] [tgz] |
---|---|---|
author | zmo <zmo@chromium.org> | Fri Sep 18 02:24:22 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 18 02:25:06 2015 |
tree | 94574d2276fff6b1c0996646929699948e41f4f4 | |
parent | 4a6a3d8c391412023e86a755fd35840baa22e578 [diff] |
TexSubImage2D no longer needs to match the type in ES3. Texture::ValidForTexture really should not validate type match. Most times it's no op, and one time it's duplicated effort (TexSubImage2D in ES2) and generating wrong error (INVALID_VALUE instead of INVALID_OPERATION). BUG=532708,429053 TEST=gpu_unittests R=piman@chromium.org Review URL: https://codereview.chromium.org/1344373004 Cr-Commit-Position: refs/heads/master@{#349585}