[Mesa-dev] [RFC 6/6] i965: Enable predicate support on gen >= 8.

Rafael Antognolli rafael.antognolli at intel.com
Mon Dec 5 18:17:00 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 ea56220..c76e2e8 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