summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv20/nv20_clear.c
blob: 2b4490fa5e1e8c24db818b9b5a969b22d33694f4 (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 "nv20_context.h"

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