projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'asm-shader-rework-2'
[mesa.git]
/
src
/
gallium
/
drivers
/
nv10
/
nv10_clear.c
diff --git
a/src/gallium/drivers/nv10/nv10_clear.c
b/src/gallium/drivers/nv10/nv10_clear.c
index be7e09cf4b0644059f3baeebb6233918398b191c..a39a2b5f525671b1cefb0b7881c4df6e833ddb93 100644
(file)
--- a/
src/gallium/drivers/nv10/nv10_clear.c
+++ b/
src/gallium/drivers/nv10/nv10_clear.c
@@
-1,12
+1,14
@@
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_defines.h"
#include "pipe/p_state.h"
+#include "util/u_clear.h"
#include "nv10_context.h"
void
#include "nv10_context.h"
void
-nv10_clear(struct pipe_context *pipe,
struct pipe_surface *p
s,
-
unsigned clearValue
)
+nv10_clear(struct pipe_context *pipe,
unsigned buffer
s,
+
const float *rgba, double depth, unsigned stencil
)
{
{
- pipe->surface_fill(pipe, ps, 0, 0, ps->width, ps->height, clearValue);
+ util_clear(pipe, nv10_context(pipe)->framebuffer, buffers, rgba, depth,
+ stencil);
}
}