[Mesa-dev] [RFC PATCH 26/26] i965: enable ARB_texture_multisample on Gen6

Chris Forbes chrisf at ijw.co.nz
Sat Dec 29 04:35:39 PST 2012


There are a few things that need to be done to support Gen7+ as well,
but I don't have a machine available to test them.

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 src/mesa/drivers/dri/intel/intel_extensions.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c
index 5c6b651..61a09d7 100755
--- a/src/mesa/drivers/dri/intel/intel_extensions.c
+++ b/src/mesa/drivers/dri/intel/intel_extensions.c
@@ -116,6 +116,11 @@ intelInitExtensions(struct gl_context *ctx)
          ctx->Extensions.ARB_timer_query = true;
    }
 
+   /* SNB-only for now; IVB support is similar but
+    * requires a little more work */
+   if (intel->gen == 6)
+      ctx->Extensions.ARB_texture_multisample = true;
+
    if (intel->gen >= 4) {
       ctx->Extensions.ARB_color_buffer_float = true;
       ctx->Extensions.ARB_depth_buffer_float = true;
-- 
1.8.0.3



More information about the mesa-dev mailing list