[Mesa-dev] [PATCH v2 7/7] i965: Enable predicate support on gen >= 8.

Rafael Antognolli rafael.antognolli at intel.com
Fri Dec 9 21:39:53 UTC 2016


Predication needs cmd parser only on gen7. For newer platforms, it
should be available without it.

Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
---
 src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index d5e4164..848a8b9 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -407,6 +407,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.OES_geometry_shader = true;
       ctx->Extensions.OES_texture_cube_map_array = true;
       ctx->Extensions.OES_viewport_array = true;
+      brw->predicate.supported = true;
    }
 
    if (brw->gen >= 9) {
-- 
2.7.4



More information about the mesa-dev mailing list