From 77077986eb281f7537b77b91445778b7d75a81d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20Iglesias=20Gons=C3=A1lvez?= Date: Mon, 17 Oct 2016 13:59:18 +0200 Subject: [PATCH] i965: enable ARB_shader_precision to HSW+ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit v2: update docs (Jordan) Signed-off-by: Samuel Iglesias Gonsálvez 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 | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 37accac..efa780f 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -141,7 +141,7 @@ GL 4.1, GLSL 4.10 --- all DONE: i965/gen8+, nvc0, r600, radeonsi GL_ARB_ES2_compatibility DONE (i965, nv50, llvmpipe, softpipe, swr) 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_shader_precision DONE (i965/hsw+, all drivers that support GLSL 4.10) 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 3ca8305..bd397d2 100644 --- a/docs/relnotes/17.0.0.html +++ b/docs/relnotes/17.0.0.html @@ -49,6 +49,7 @@ Note: some of the new features are only available with certain drivers.
  • 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
  • +
  • GL_ARB_shader_precision 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 afe5f8a..dc46772 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -238,6 +238,7 @@ intelInitExtensions(struct gl_context *ctx) if (brw->gen >= 8 || brw->is_haswell) { ctx->Extensions.ARB_gpu_shader_fp64 = true; + ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_stencil_texturing = true; ctx->Extensions.ARB_texture_stencil8 = true; ctx->Extensions.ARB_vertex_attrib_64bit = true; @@ -263,7 +264,6 @@ intelInitExtensions(struct gl_context *ctx) } if (brw->gen >= 8) { - ctx->Extensions.ARB_shader_precision = true; ctx->Extensions.ARB_ES3_2_compatibility = true; } -- 2.7.4