mesa/version: uncomment SPIR-V extensions
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 9 Mar 2019 15:06:07 +0000 (16:06 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 21 Aug 2019 15:29:42 +0000 (17:29 +0200)
As they are implemented on i965, so we can expose 4.6.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/mesa/main/version.c

index 5f004ff1dab8cc06644c51c1e8ea536932348c95..58deb4b3cf8ca5381dbddc9b112b321917e52230 100644 (file)
@@ -384,8 +384,8 @@ compute_version(const struct gl_extensions *extensions,
                          extensions->NV_texture_barrier);
    const bool ver_4_6 = (ver_4_5 &&
                          consts->GLSLVersion >= 460 &&
-                         /* extensions->ARB_gl_spirv */ 0 &&
-                         /* extensions->ARB_spirv_extensions */ 0 &&
+                         extensions->ARB_gl_spirv &&
+                         extensions->ARB_spirv_extensions &&
                          extensions->ARB_indirect_parameters &&
                          extensions->ARB_pipeline_statistics_query &&
                          extensions->ARB_polygon_offset_clamp &&