i965: enable ARB_gl_spirv extension and ARB_spirv_extensions for gen7+
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 5 Dec 2017 14:29:43 +0000 (15:29 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 21 Aug 2019 15:29:42 +0000 (17:29 +0200)
v2: squashed the two enable patches with the docs one (Jason)

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
docs/features.txt
src/mesa/drivers/dri/i965/intel_extensions.c

index 3e5cfe04e2960d00c9ef72ffec0aa8600524f464..0909d7c8980ff43f2f6ce9e045fd1b5f9540689d 100644 (file)
@@ -226,14 +226,14 @@ GL 4.5, GLSL 4.50 -- all DONE: nvc0, radeonsi, r600
 
 GL 4.6, GLSL 4.60
 
-  GL_ARB_gl_spirv                                       in progress (Nicolai Hähnle, Ian Romanick)
+  GL_ARB_gl_spirv                                       DONE (i965/gen7+)
   GL_ARB_indirect_parameters                            DONE (i965/gen7+, nvc0, radeonsi, virgl)
   GL_ARB_pipeline_statistics_query                      DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe, swr)
   GL_ARB_polygon_offset_clamp                           DONE (freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, swr, virgl)
   GL_ARB_shader_atomic_counter_ops                      DONE (freedreno/a5xx+, i965/gen7+, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl)
   GL_ARB_shader_draw_parameters                         DONE (i965, nvc0, radeonsi)
   GL_ARB_shader_group_vote                              DONE (i965, nvc0, radeonsi)
-  GL_ARB_spirv_extensions                               in progress (Nicolai Hähnle, Ian Romanick)
+  GL_ARB_spirv_extensions                               DONE (i965/gen7+)
   GL_ARB_texture_filter_anisotropic                     DONE (freedreno, i965, nv50, nvc0, r600, radeonsi, softpipe (*), llvmpipe (*))
   GL_ARB_transform_feedback_overflow_query              DONE (i965/gen6+, nvc0, radeonsi, llvmpipe, softpipe, virgl)
   GL_KHR_no_error                                       DONE (all drivers)
index f3c34907b95ae1a4216042cb0826148739a05b4c..32802311ca97046bc8fca5cdecfdfe552448de23 100644 (file)
@@ -275,6 +275,9 @@ intelInitExtensions(struct gl_context *ctx)
             ctx->Extensions.ARB_indirect_parameters = true;
          }
       }
+
+      ctx->Extensions.ARB_gl_spirv = true;
+      ctx->Extensions.ARB_spirv_extensions = true;
    }
 
    if (devinfo->gen >= 8 || devinfo->is_haswell) {