summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_clear.c
blob: 46f23e382602f2a1b2e4f0acb5d86daed3c03eb9 (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 "nvfx_context.h"

void
nvfx_clear(struct pipe_context *pipe, unsigned buffers,
           const union pipe_color_union *color, double depth, unsigned stencil)
{
	util_clear(pipe, &nvfx_context(pipe)->framebuffer, buffers, color, depth,
		   stencil);
}