From: Alejandro Piñeiro Date: Tue, 5 Dec 2017 14:29:43 +0000 (+0100) Subject: i965: enable ARB_gl_spirv extension and ARB_spirv_extensions for gen7+ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e8565beadafa2b141b74e79b4f51d8a252c01a4;p=mesa.git i965: enable ARB_gl_spirv extension and ARB_spirv_extensions for gen7+ v2: squashed the two enable patches with the docs one (Jason) Reviewed-by: Caio Marcelo de Oliveira Filho --- diff --git a/docs/features.txt b/docs/features.txt index 3e5cfe04e29..0909d7c8980 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -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) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index f3c34907b95..32802311ca9 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -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) {