[Mesa-dev] [PATCH 1/2] i965: Sort some extension names

Ian Romanick idr at freedesktop.org
Sat Oct 8 00:12:47 UTC 2016


From: Ian Romanick <ian.d.romanick at intel.com>

Trivial.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mesa/drivers/dri/i965/intel_extensions.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index eef81e2..87c7710 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -399,8 +399,8 @@ intelInitExtensions(struct gl_context *ctx)
    }
 
    if (brw->gen >= 8) {
-      ctx->Extensions.ARB_shader_precision = true;
       ctx->Extensions.ARB_gpu_shader_fp64 = true;
+      ctx->Extensions.ARB_shader_precision = true;
       ctx->Extensions.ARB_vertex_attrib_64bit = true;
       ctx->Extensions.ARB_ES3_2_compatibility = true;
       ctx->Extensions.OES_geometry_shader = true;
@@ -409,11 +409,11 @@ intelInitExtensions(struct gl_context *ctx)
    }
 
    if (brw->gen >= 9) {
+      ctx->Extensions.ANDROID_extension_pack_es31a = true;
+      ctx->Extensions.ARB_shader_stencil_export = 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.ARB_shader_stencil_export = true;
-      ctx->Extensions.ANDROID_extension_pack_es31a = true;
       ctx->Extensions.MESA_shader_framebuffer_fetch = true;
    }
 
-- 
2.5.5



More information about the mesa-dev mailing list