[Mesa-dev] [PATCH 2/4] i965: Enable ARB_gpu_shader5 on Gen7

Chris Forbes chrisf at ijw.co.nz
Sat Aug 9 21:28:00 PDT 2014


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

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 4ee8636..04a47af 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -325,4 +325,7 @@ intelInitExtensions(struct gl_context *ctx)
 
    if (brw->gen >= 7)
       ctx->Extensions.ARB_shader_atomic_counters = true;
+
+   if (brw->gen == 7)
+      ctx->Extensions.ARB_gpu_shader5 = true;
 }
-- 
2.0.4



More information about the mesa-dev mailing list