summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:03:14 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:03:14 +0100
commitab76b2a8b896edc1e972de108d044b70310b4324 (patch)
treea2c08275b8fec587cb3adc6b583a8ec145cbdf74 /src/gallium/drivers/llvmpipe/lp_rast.h
parent35a90e67ebc37dc0a8432db76c91b8855a94598a (diff)
llvmpipe: Complete more rasterizer methods..
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index f40208bbda..380a1adbd2 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -28,6 +28,7 @@
#ifndef LP_RAST_H
#define LP_RAST_H
+#include "pipe/p_compiler.h"
#include "lp_jit.h"
/* Initially create and program a single rasterizer directly. Later
@@ -91,9 +92,6 @@ struct lp_rast_triangle {
float dx12;
float dx23;
float dx31;
-
- /* State to run the shader: */
- struct lp_rast_shader_inputs inputs;
};
struct clear_tile {
@@ -112,8 +110,8 @@ struct load_tile {
struct lp_rasterizer *lp_rast_create( void );
void lp_rast_bind_surfaces( struct lp_rasterizer *,
- struct pipe_surface *color,
- struct pipe_surface *zstencil,
+ struct pipe_surface *cbuf,
+ struct pipe_surface *zsbuf,
const float *clear_color,
double clear_depth,
unsigned clear_stencil);
@@ -154,7 +152,8 @@ void lp_rast_triangle( struct lp_rasterizer *,
const union lp_rast_cmd_arg * );
void lp_rast_shade_tile( struct lp_rasterizer *,
- const union lp_rast_cmd_arg * );
+ const union lp_rast_cmd_arg *,
+ const struct lp_rast_shader_inputs *);
void lp_rast_store_color( struct lp_rasterizer *,
const union lp_rast_cmd_arg *);
@@ -163,6 +162,12 @@ void lp_rast_store_zstencil( struct lp_rasterizer *,
const union lp_rast_cmd_arg *);
+/* End of tile:
+ */
+
+void lp_rast_end_tile( struct lp_rasterizer *rast,
+ boolean write_depth );
+
/* Shutdown:
*/
void lp_rast_destroy( struct lp_rasterizer * );