gallium: add pipe cap for scissored clears and pass scissor state to clear() hook
[mesa.git] / src / gallium / tests / graw / shader-leak.c
index 8fa1a727f54327e536437fcea14e6d148f12c7d5..90d674745fda0dc56c3dd06a8fccaefd23eaa0ca 100644 (file)
@@ -148,7 +148,7 @@ static void draw( void )
 
       ctx->bind_fs_state(ctx, fs);
 
-      ctx->clear(ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0);
+      ctx->clear(ctx, PIPE_CLEAR_COLOR, NULL, &clear_color, 0, 0);
       util_draw_arrays(ctx, PIPE_PRIM_POINTS, 0, 1);
       ctx->flush(ctx, NULL, 0);