diff options
author | Alejandro Piñeiro <[email protected]> | 2017-12-05 15:29:43 +0100 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2019-08-21 17:29:42 +0200 |
commit | 2e8565beadafa2b141b74e79b4f51d8a252c01a4 (patch) | |
tree | 4cdfd278af5070b4e8acb7c3c331ac9298b961fc | |
parent | 4109a2f612b25aeb7fbe7406c92df33409c9aab7 (diff) |
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 <[email protected]>
-rw-r--r-- | docs/features.txt | 4 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_extensions.c | 3 |
2 files changed, 5 insertions, 2 deletions
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) { |