diff options
author | Anuj Phogat <[email protected]> | 2014-02-14 17:27:29 -0800 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-02-18 11:07:09 -0800 |
commit | 6bd2472a8b9a969d06dc110bd30ccd8daf713959 (patch) | |
tree | caf4bf063259afe82dbd01d6f76baa92e362d6e9 /src/mesa/main | |
parent | d92f593d8776ec157ad0e7fa2ee8c9a17fd744ce (diff) |
mesa: Add GL_TEXTURE_CUBE_MAP_ARRAY to legal_get_tex_level_parameter_target()
Fixes failing Khronos CTS test packed_depth_stencil_init.test
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/texparam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c index b7ed50dd5d6..bbdbc276388 100644 --- a/src/mesa/main/texparam.c +++ b/src/mesa/main/texparam.c @@ -986,6 +986,9 @@ legal_get_tex_level_parameter_target(struct gl_context *ctx, GLenum target) case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB: case GL_PROXY_TEXTURE_CUBE_MAP_ARB: return ctx->Extensions.ARB_texture_cube_map; + case GL_TEXTURE_CUBE_MAP_ARRAY_ARB: + case GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB: + return ctx->Extensions.ARB_texture_cube_map_array; case GL_TEXTURE_RECTANGLE_NV: case GL_PROXY_TEXTURE_RECTANGLE_NV: return ctx->Extensions.NV_texture_rectangle; |