summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-10-08 17:06:32 +0100
committerJosé Fonseca <[email protected]>2009-10-08 17:06:32 +0100
commitce7ac8e7439fba74fc1ee368559dd520a2d1eabe (patch)
tree4844d518cf59f16ca74022b495b419fc1bcd28dd /src/gallium
parentee3383bc5ab81ff12d9faa675c1c38683300ce68 (diff)
llvmpipe: Update lp_setup_clear invocation.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_clear.c2
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.h11
2 files changed, 7 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_clear.c b/src/gallium/drivers/llvmpipe/lp_clear.c
index 9efb3d40839..4bae44e2ea2 100644
--- a/src/gallium/drivers/llvmpipe/lp_clear.c
+++ b/src/gallium/drivers/llvmpipe/lp_clear.c
@@ -55,5 +55,5 @@ llvmpipe_clear(struct pipe_context *pipe,
if (llvmpipe->no_rast)
return;
- lp_setup_clear( llvmpipe->setup, buffers, rgba, depth, stencil );
+ lp_setup_clear( llvmpipe->setup, rgba, depth, stencil, buffers );
}
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.h b/src/gallium/drivers/llvmpipe/lp_setup.h
index 39e7b558c81..6d741f72712 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.h
+++ b/src/gallium/drivers/llvmpipe/lp_setup.h
@@ -27,6 +27,7 @@
#ifndef LP_SETUP_H
#define LP_SETUP_H
+#include "pipe/p_compiler.h"
enum lp_interp {
LP_INTERP_CONSTANT,
@@ -42,11 +43,11 @@ struct setup_context *
lp_setup_create( void );
void
-lp_setup_clear(struct pipe_context *pipe,
- unsigned buffers,
- const float *rgba,
- double depth,
- unsigned stencil);
+lp_setup_clear(struct setup_context *setup,
+ const float *clear_color,
+ double clear_depth,
+ unsigned clear_stencil,
+ unsigned flags);
void
lp_setup_triangle(struct setup_context *setup,