gallium: add pipe cap for scissored clears and pass scissor state to clear() hook
[mesa.git] / src / gallium / drivers / virgl / virgl_context.c
index d83bd7a40b77ee18ea5e78c330c9f3615115f872..381a9c023a824609b8cbee66e0e72598dbebd397 100644 (file)
@@ -816,6 +816,7 @@ static void virgl_bind_fs_state(struct pipe_context *ctx,
 
 static void virgl_clear(struct pipe_context *ctx,
                                 unsigned buffers,
+                                const struct pipe_scissor_state *scissor_state,
                                 const union pipe_color_union *color,
                                 double depth, unsigned stencil)
 {