summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_clear.c
blob: ddf13addf3b984e289e65ac22952762a6e6f6168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "util/u_clear.h"

#include "nv40_context.h"

void
nv40_clear(struct pipe_context *pipe, unsigned buffers,
           const float *rgba, double depth, unsigned stencil)
{
	util_clear(pipe, &nv40_context(pipe)->framebuffer, buffers, rgba, depth,
		   stencil);
}