From: Ian Romanick Date: Tue, 21 Jun 2016 18:14:58 +0000 (-0700) Subject: i965: Always enable GL_ARB_shading_language_packing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=26c7f04d4a55b694623a389a564c9516d91c0026;p=mesa.git i965: Always enable GL_ARB_shading_language_packing With the existing lowering passes, the functions from this extension become a bunch of bit twiddling operations that have always been supported. Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 5e2628faffa..cf383bcaae4 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -206,6 +206,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_shader_bit_encoding = true; ctx->Extensions.ARB_shader_draw_parameters = true; ctx->Extensions.ARB_shader_texture_lod = true; + ctx->Extensions.ARB_shading_language_packing = true; ctx->Extensions.ARB_shadow = true; ctx->Extensions.ARB_sync = true; ctx->Extensions.ARB_texture_border_clamp = true; @@ -299,7 +300,6 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_fragment_layer_viewport = true; ctx->Extensions.ARB_sample_shading = true; ctx->Extensions.ARB_shading_language_420pack = true; - ctx->Extensions.ARB_shading_language_packing = true; ctx->Extensions.ARB_texture_buffer_object = true; ctx->Extensions.ARB_texture_buffer_object_rgb32 = true; ctx->Extensions.ARB_texture_buffer_range = true;