i965: enable ARB_shader_precision to HSW+
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 17 Oct 2016 11:59:18 +0000 (13:59 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 12 Jan 2017 11:56:57 +0000 (12:56 +0100)
v2: update docs (Jordan)

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
docs/features.txt
docs/relnotes/17.0.0.html
src/mesa/drivers/dri/i965/intel_extensions.c

index 37accac06054dfac01a7f20426e88ee2daa4524c..efa780fea17a502887d4798b81ff41b263b64b31 100644 (file)
@@ -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)
 
index 3ca830584a33b38948e126356f1e792555c83735..bd397d27e068612f60d31557fdff8e6cc8113b0b 100644 (file)
@@ -49,6 +49,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_NV_image_formats on any driver supporting GL_ARB_shader_image_load_store (i965, nvc0, radeonsi, softpipe)</li>
 <li>GL_ARB_gpu_shader_fp64 in i965/haswell</li>
 <li>GL_ARB_vertex_attrib_64bit in i965/haswell</li>
+<li>GL_ARB_shader_precision in i965/haswell</li>
 <li>Intel Haswell now supports OpenGL 4.0</li>
 <li>GL_OES_geometry_shader on i965/haswell</li>
 <li>GL_OES_texture_cube_map_array on i965/haswell</li>
index afe5f8a851b20ceb22c4347a2fc8ce076d1199f1..dc46772fd7407a209ad887fe20896f3ead25b7cd 100644 (file)
@@ -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;
    }