[Mesa-dev] [PATCH 15/21] i965: Enable ARB_GPU_SHADER5 for gen8+
Ben Widawsky
benjamin.widawsky at intel.com
Mon Dec 22 19:29:25 PST 2014
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
src/mesa/drivers/dri/i965/intel_extensions.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index bbbb76f..49d92bb 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -327,9 +327,8 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ANGLE_texture_compression_dxt = true;
- if (brw->gen >= 7)
+ if (brw->gen >= 7) {
ctx->Extensions.ARB_shader_atomic_counters = true;
-
- if (brw->gen == 7)
ctx->Extensions.ARB_gpu_shader5 = true;
+ }
}
--
2.2.1
More information about the mesa-dev
mailing list