diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-07-29 16:01:27 +0200 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-08-05 08:20:16 +0200 |
commit | 03b7221dbb93e2439f30b2e0918f6215eb741979 (patch) | |
tree | d15a98364b2e7cad1b40e9e505770352a2b8ed2a /src/mesa/program/prog_instruction.c | |
parent | 4b07e9a033ddb6733eba206b5bd47a2373756f7d (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 on GLES into a
new function texture_format_error_check_gles(), to factorize similar
code in texture_format_error_check().
Fixes 2 dEQP tests:
* dEQP-GLES3.functional.negative_api.texture.texsubimage2d
* dEQP-GLES3.functional.negative_api.texture.texsubimage3d
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_instruction.c')
0 files changed, 0 insertions, 0 deletions