gallium: add pipe cap for scissored clears and pass scissor state to clear() hook
[mesa.git] / src / gallium / auxiliary / driver_rbug / rbug_context.c
index 7c5a2929d891717bd97438a406c4db619374934b..a36f3377e8c2cc357b70bd03aef9fcc58bf6b0df 100644 (file)
@@ -921,6 +921,7 @@ rbug_flush_resource(struct pipe_context *_pipe,
 static void
 rbug_clear(struct pipe_context *_pipe,
            unsigned buffers,
+           const struct pipe_scissor_state *scissor_state,
            const union pipe_color_union *color,
            double depth,
            unsigned stencil)
@@ -931,6 +932,7 @@ rbug_clear(struct pipe_context *_pipe,
    mtx_lock(&rb_pipe->call_mutex);
    pipe->clear(pipe,
                buffers,
+               scissor_state,
                color,
                depth,
                stencil);