summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_clear.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-03-06 12:36:46 +0100
committerDaniel Vetter <[email protected]>2011-03-10 23:04:20 +0100
commitfb3b712b84528b192834d3ba3df557b25bbe6e6e (patch)
treefe93766c5267e1b63df5b82bb2348d11e66a4ee5 /src/gallium/drivers/i915/i915_clear.c
parent6ad4a11b3e14fcccf662d8ccc58486c16ce0c9f4 (diff)
i915g: implement surface clear functions using hw-clear
Tested by temporarily using util_clear even when not using the blitter. Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_clear.c')
-rw-r--r--src/gallium/drivers/i915/i915_clear.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_clear.c b/src/gallium/drivers/i915/i915_clear.c
index b5d6d8a01a3..d11361b675f 100644
--- a/src/gallium/drivers/i915/i915_clear.c
+++ b/src/gallium/drivers/i915/i915_clear.c
@@ -40,7 +40,7 @@
#include "i915_resource.h"
#include "i915_state.h"
-static void
+void
i915_clear_emit(struct pipe_context *pipe, unsigned buffers, const float *rgba,
double depth, unsigned stencil,
unsigned destx, unsigned desty, unsigned width, unsigned height)