nouveau: rework and simplify nv04/nv05 driver a bit
[mesa.git] / src / gallium / drivers / nvfx / nvfx_clear.c
1 #include "pipe/p_context.h"
2 #include "pipe/p_defines.h"
3 #include "pipe/p_state.h"
4 #include "util/u_clear.h"
5
6 #include "nvfx_context.h"
7
8 void
9 nvfx_clear(struct pipe_context *pipe, unsigned buffers,
10 const union pipe_color_union *color, double depth, unsigned stencil)
11 {
12 util_clear(pipe, &nvfx_context(pipe)->framebuffer, buffers, color, depth,
13 stencil);
14 }