summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_clear.c
blob: 79de90434de7f9a8fc7494db65c43f52e33ddbaf (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, &nvfx_context(pipe)->framebuffer, buffers, rgba, depth,
		   stencil);
}