i965: reenable ARB_cull_distance.
authorDave Airlie <airlied@redhat.com>
Sun, 15 May 2016 22:57:45 +0000 (08:57 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 24 May 2016 01:27:29 +0000 (11:27 +1000)
Now the lowering pass is fixed we can reenable culling.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 878bd84fea3c9ef531da737a9aae1348a4bc7228..0f0d1ce94bd6c79774968be302987b2ba57ce11e 100644 (file)
@@ -291,7 +291,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_blend_func_extended =
          !driQueryOptionb(&brw->optionCache, "disable_blend_func_extended");
       ctx->Extensions.ARB_conditional_render_inverted = true;
-      ctx->Extensions.ARB_cull_distance = false;
+      ctx->Extensions.ARB_cull_distance = true;
       ctx->Extensions.ARB_draw_buffers_blend = true;
       ctx->Extensions.ARB_ES3_compatibility = true;
       ctx->Extensions.ARB_fragment_layer_viewport = true;