summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_clear.c
blob: 2be70fcee40a4cc6fb64bf43c65d564e67aa914a (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 float *rgba, double depth, unsigned stencil)
{
	util_clear(pipe, &nvfx_context(pipe)->framebuffer, buffers, rgba, depth,
		   stencil);
}