From: Anuj Phogat Date: Sat, 15 Feb 2014 01:27:29 +0000 (-0800) Subject: mesa: Add GL_TEXTURE_CUBE_MAP_ARRAY to legal_get_tex_level_parameter_target() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bd2472a8b9a969d06dc110bd30ccd8daf713959;p=mesa.git 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: Signed-off-by: Anuj Phogat Reviewed-by: Ian Romanick --- 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;