i965: Sort Gen9+ extension enables
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Apr 2018 21:06:27 +0000 (14:06 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 23 Aug 2018 03:31:32 +0000 (20:31 -0700)
This is a strictly alphabetic sort, as is done in extensions_table.h
There are other options.  We should pick one and document it.  Right
now, this file is chaos.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index f1c3aeff1351625ca4da0b5aa12f57e5e7aade2a..a78bd8e5b0e688f2e2d451f66d0df9fce71a1b1f 100644 (file)
@@ -302,13 +302,13 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (devinfo->gen >= 9) {
       ctx->Extensions.ANDROID_extension_pack_es31a = true;
+      ctx->Extensions.ARB_post_depth_coverage = true;
       ctx->Extensions.ARB_shader_stencil_export = true;
+      ctx->Extensions.EXT_shader_framebuffer_fetch = true;
+      ctx->Extensions.INTEL_conservative_rasterization = true;
       ctx->Extensions.KHR_blend_equation_advanced_coherent = true;
       ctx->Extensions.KHR_texture_compression_astc_ldr = true;
       ctx->Extensions.KHR_texture_compression_astc_sliced_3d = true;
-      ctx->Extensions.INTEL_conservative_rasterization = true;
-      ctx->Extensions.EXT_shader_framebuffer_fetch = true;
-      ctx->Extensions.ARB_post_depth_coverage = true;
    }
 
    if (gen_device_info_is_9lp(devinfo))