summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2015-08-24 10:09:52 +0300
committerTapani Pälli <tapani.palli@intel.com>2015-08-27 10:58:10 +0300
commit16ad1d2a8d9d1d2d816f8b8d70f1134a7d4ba8dc (patch)
tree7473313a2607199b68103978c20611b594e6ed54 /src/mesa/main/texparam.c
parentc2c64fd26999cedf4b63c754145f7258517f5bce (diff)
downloadexternal_mesa3d-16ad1d2a8d9d1d2d816f8b8d70f1134a7d4ba8dc.zip
external_mesa3d-16ad1d2a8d9d1d2d816f8b8d70f1134a7d4ba8dc.tar.gz
external_mesa3d-16ad1d2a8d9d1d2d816f8b8d70f1134a7d4ba8dc.tar.bz2
mesa: enable enums for OES_texture_storage_multisample_2d_array
v2: use _mesa_is_gles31(ctx) for verifying we are on ES 3.1, remove _es31 usage from get_hash_params.py Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r--src/mesa/main/texparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index 72d3611..3f6f8ba 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -1223,6 +1223,7 @@ legal_get_tex_level_parameter_target(struct gl_context *ctx, GLenum target,
case GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB:
return ctx->Extensions.ARB_texture_cube_map;
case GL_TEXTURE_2D_MULTISAMPLE:
+ case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
return ctx->Extensions.ARB_texture_multisample;
}
@@ -1267,7 +1268,6 @@ legal_get_tex_level_parameter_target(struct gl_context *ctx, GLenum target,
* "target may also be TEXTURE_BUFFER, indicating the texture buffer."
*/
return ctx->API == API_OPENGL_CORE && ctx->Version >= 31;
- case GL_TEXTURE_2D_MULTISAMPLE_ARRAY:
case GL_PROXY_TEXTURE_2D_MULTISAMPLE:
case GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY:
return ctx->Extensions.ARB_texture_multisample;