diff options
author | Luca Barbieri <[email protected]> | 2010-02-20 20:04:54 +0100 |
---|---|---|
committer | Younes Manton <[email protected]> | 2010-03-15 00:03:01 -0400 |
commit | c5c7b69bda3fb49fd88b846feb6e65289a04488a (patch) | |
tree | 2a2c8912c8b6402a20eb24b937784a193c0233c9 /src/gallium/drivers/nvfx/nvfx_clear.c | |
parent | 6321a183319fdcb2ebee757b7f0922efe3f919db (diff) |
nv30, nv40: unify identical nv[34]0_clear.c
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_clear.c')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_clear.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_clear.c b/src/gallium/drivers/nvfx/nvfx_clear.c new file mode 100644 index 00000000000..2be70fcee40 --- /dev/null +++ b/src/gallium/drivers/nvfx/nvfx_clear.c @@ -0,0 +1,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); +} |