st/mesa: reenable culling
authorDave Airlie <airlied@redhat.com>
Fri, 20 May 2016 01:27:29 +0000 (11:27 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 24 May 2016 01:27:54 +0000 (11:27 +1000)
Now the lowering pass is fixed, reenable ARB_cull_distance.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_extensions.c

index ef061e9d756540813343141f6b0173b1b73fc8cb..1d5175b83f4b94755de322e15737b29b86d776f6 100644 (file)
@@ -576,7 +576,7 @@ void st_init_extensions(struct pipe_screen *screen,
       { o(ARB_color_buffer_float),           PIPE_CAP_VERTEX_COLOR_UNCLAMPED           },
       { o(ARB_conditional_render_inverted),  PIPE_CAP_CONDITIONAL_RENDER_INVERTED      },
       { o(ARB_copy_image),                   PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS },
-      //{ o(ARB_cull_distance),                PIPE_CAP_CULL_DISTANCE                    },
+      { o(ARB_cull_distance),                PIPE_CAP_CULL_DISTANCE                    },
       { o(ARB_depth_clamp),                  PIPE_CAP_DEPTH_CLIP_DISABLE               },
       { o(ARB_depth_texture),                PIPE_CAP_TEXTURE_SHADOW_MAP               },
       { o(ARB_derivative_control),           PIPE_CAP_TGSI_FS_FINE_DERIVATIVE          },