From 485955be9c59ce56af9de41eaf9898526ee24be8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Thu, 7 Jul 2016 11:49:33 +0200 Subject: [PATCH] i965: Enable ARB_vertex_attrib_64bit for Haswell MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit v2: update docs (Jordan) Signed-off-by: Alejandro Piñeiro Signed-off-by: Juan A. Suarez Romero Reviewed-by: Jordan Justen --- docs/features.txt | 2 +- docs/relnotes/17.0.0.html | 1 + src/mesa/drivers/dri/i965/intel_extensions.c | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 65ef8ee6bcc..37accac0605 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -142,7 +142,7 @@ GL 4.1, GLSL 4.10 --- all DONE: i965/gen8+, nvc0, r600, radeonsi GL_ARB_get_program_binary DONE (0 binary formats) GL_ARB_separate_shader_objects DONE (all drivers) GL_ARB_shader_precision DONE (all drivers that support GLSL 4.10) - GL_ARB_vertex_attrib_64bit DONE (llvmpipe, softpipe) + GL_ARB_vertex_attrib_64bit DONE (i965/hsw+, llvmpipe, softpipe) GL_ARB_viewport_array DONE (i965, nv50, llvmpipe, softpipe) diff --git a/docs/relnotes/17.0.0.html b/docs/relnotes/17.0.0.html index 899d24c71e6..3ca830584a3 100644 --- a/docs/relnotes/17.0.0.html +++ b/docs/relnotes/17.0.0.html @@ -48,6 +48,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_INTEL_conservative_rasterization on i965/gen9+
  • GL_NV_image_formats on any driver supporting GL_ARB_shader_image_load_store (i965, nvc0, radeonsi, softpipe)
  • GL_ARB_gpu_shader_fp64 in i965/haswell
  • +
  • GL_ARB_vertex_attrib_64bit in i965/haswell
  • Intel Haswell now supports OpenGL 4.0
  • GL_OES_geometry_shader on i965/haswell
  • GL_OES_texture_cube_map_array on i965/haswell
  • diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 915797a58a5..ac877cc19fe 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -218,8 +218,10 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.OES_primitive_bounding_box = true; ctx->Extensions.OES_texture_buffer = true; - if (brw->is_haswell) + if (brw->is_haswell) { ctx->Extensions.ARB_gpu_shader_fp64 = true; + ctx->Extensions.ARB_vertex_attrib_64bit = true; + } if (can_do_pipelined_register_writes(brw->screen)) { ctx->Extensions.ARB_draw_indirect = true; -- 2.30.2