From: Ian Romanick Date: Wed, 13 Nov 2013 21:24:14 +0000 (-0800) Subject: radeon: Sort list of enabled extensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b66edff4355e27d97de750feceb0c0dd34b7719b;p=mesa.git radeon: Sort list of enabled extensions Signed-off-by: Ian Romanick Reviewed-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index c8b997bcf05..cc1e62f54cd 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -327,20 +327,22 @@ r100CreateContext( gl_api api, _math_matrix_set_identity( &rmesa->tmpmat[i] ); } + ctx->Extensions.ARB_occlusion_query = true; ctx->Extensions.ARB_texture_border_clamp = true; + ctx->Extensions.ARB_texture_cube_map = true; ctx->Extensions.ARB_texture_env_combine = true; ctx->Extensions.ARB_texture_env_crossbar = true; ctx->Extensions.ARB_texture_env_dot3 = true; ctx->Extensions.ARB_texture_mirror_clamp_to_edge = true; + ctx->Extensions.ATI_texture_env_combine3 = true; + ctx->Extensions.ATI_texture_mirror_once = true; ctx->Extensions.EXT_packed_depth_stencil = true; ctx->Extensions.EXT_texture_env_dot3 = true; ctx->Extensions.EXT_texture_filter_anisotropic = true; ctx->Extensions.EXT_texture_mirror_clamp = true; - ctx->Extensions.ATI_texture_env_combine3 = true; - ctx->Extensions.ATI_texture_mirror_once = true; ctx->Extensions.MESA_ycbcr_texture = true; + ctx->Extensions.NV_texture_rectangle = true; ctx->Extensions.OES_EGL_image = true; - ctx->Extensions.ARB_texture_cube_map = true; if (rmesa->radeon.glCtx.Mesa_DXTn) { ctx->Extensions.EXT_texture_compression_s3tc = true; @@ -351,9 +353,6 @@ r100CreateContext( gl_api api, ctx->Extensions.ANGLE_texture_compression_dxt = true; } - ctx->Extensions.NV_texture_rectangle = true; - ctx->Extensions.ARB_occlusion_query = true; - /* XXX these should really go right after _mesa_init_driver_functions() */ radeon_fbo_init(&rmesa->radeon); radeonInitSpanFuncs( ctx );