diff options
author | Ian Romanick <[email protected]> | 2013-12-18 14:09:58 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-27 14:21:42 -0700 |
commit | 88db6ad7dbe14e2f149d655cfe5b983e1a8751da (patch) | |
tree | fa6f5834c171fdbad57706bbb77cb7cb0be8c9fd /src/mesa/main/api_loopback.h | |
parent | 3f3aafbfeeb3939cb5cf710954ccefb8bbe9cff9 (diff) |
mesa: Generate the correct error for a depth format with a 3D texture
All versions of the OpenGL spec are quite clear that
GL_INVALID_OPERATION should be generated. I added a quotation from the
3.3 core profile spec.
Fixes the glTexImage3D subcases of
ext_packed_depth_stencil-depth-stencil-texture and
oes_packed_depth_stencil-depth-stencil-texture_gles2. The same subtests
of oes_packed_depth_stencil-depth-stencil-texture_gles1 fail, but they
fail with a different wrong error code.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/api_loopback.h')
0 files changed, 0 insertions, 0 deletions