From bfc5ace5bda6510d4dd3893a3b8c677a1c85e23e Mon Sep 17 00:00:00 2001
From: Ilia Mirkin
Date: Tue, 11 Aug 2015 20:38:48 -0400
Subject: [PATCH] i965: enable ARB_shader_texture_image_samples
Signed-off-by: Ilia Mirkin
Reviewed-by: Kenneth Graunke
---
docs/GL3.txt | 2 +-
docs/relnotes/11.1.0.html | 2 +-
src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 8ad1aac50a5..25350021720 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -194,7 +194,7 @@ GL 4.5, GLSL 4.50:
GL_ARB_derivative_control DONE (i965, nv50, nvc0, r600, radeonsi)
GL_ARB_direct_state_access DONE (all drivers)
GL_ARB_get_texture_sub_image DONE (all drivers)
- GL_ARB_shader_texture_image_samples not started
+ GL_ARB_shader_texture_image_samples DONE (i965)
GL_ARB_texture_barrier DONE (nv50, nvc0, r600, radeonsi)
GL_KHR_context_flush_control DONE (all - but needs GLX/EGL extension to be useful)
GL_KHR_robust_buffer_access_behavior not started
diff --git a/docs/relnotes/11.1.0.html b/docs/relnotes/11.1.0.html
index 4b56f69660d..603b06f41c9 100644
--- a/docs/relnotes/11.1.0.html
+++ b/docs/relnotes/11.1.0.html
@@ -44,8 +44,8 @@ Note: some of the new features are only available with certain drivers.
+- GL_ARB_shader_texture_image_samples on i965
- GL_ARB_texture_query_lod on softpipe
-TBD.
Bug fixes
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 8842f50935a..e6d39e00788 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -325,6 +325,7 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_shader_atomic_counters = true;
ctx->Extensions.ARB_shader_image_load_store = true;
ctx->Extensions.ARB_shader_image_size = true;
+ ctx->Extensions.ARB_shader_texture_image_samples = true;
ctx->Extensions.ARB_texture_compression_bptc = true;
ctx->Extensions.ARB_texture_view = true;
--
2.30.2