summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-12-17 14:05:53 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-12-17 14:06:17 -0700
commit04a5a8b3bcba64c506ee5646a3a8b737e124a66a (patch)
tree3a311e6bdf3fac5359f5a99280d5c39cee3288d1 /src/mesa
parent8978627ad0e236796758d4912822b3428a649987 (diff)
updates for depth/stencil/alpha state
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_context.c6
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state.h6
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_blend.c10
3 files changed, 11 insertions, 11 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_context.c b/src/mesa/pipe/cell/ppu/cell_context.c
index b448a8aa8c..281fc6ec31 100644
--- a/src/mesa/pipe/cell/ppu/cell_context.c
+++ b/src/mesa/pipe/cell/ppu/cell_context.c
@@ -184,9 +184,9 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws)
cell->pipe.bind_sampler_state = cell_bind_sampler_state;
cell->pipe.delete_sampler_state = cell_delete_sampler_state;
- cell->pipe.create_depth_stencil_state = cell_create_depth_stencil_state;
- cell->pipe.bind_depth_stencil_state = cell_bind_depth_stencil_state;
- cell->pipe.delete_depth_stencil_state = cell_delete_depth_stencil_state;
+ cell->pipe.create_depth_stencil_alpha_state = cell_create_depth_stencil_alpha_state;
+ cell->pipe.bind_depth_stencil_alpha_state = cell_bind_depth_stencil_alpha_state;
+ cell->pipe.delete_depth_stencil_alpha_state = cell_delete_depth_stencil_alpha_state;
cell->pipe.create_rasterizer_state = cell_create_rasterizer_state;
cell->pipe.bind_rasterizer_state = cell_bind_rasterizer_state;
diff --git a/src/mesa/pipe/cell/ppu/cell_state.h b/src/mesa/pipe/cell/ppu/cell_state.h
index b01814202d..63dbac2f02 100644
--- a/src/mesa/pipe/cell/ppu/cell_state.h
+++ b/src/mesa/pipe/cell/ppu/cell_state.h
@@ -49,14 +49,14 @@ cell_delete_sampler_state(struct pipe_context *, void *);
extern void *
-cell_create_depth_stencil_state(struct pipe_context *,
+cell_create_depth_stencil_alpha_state(struct pipe_context *,
const struct pipe_depth_stencil_alpha_state *);
extern void
-cell_bind_depth_stencil_state(struct pipe_context *, void *);
+cell_bind_depth_stencil_alpha_state(struct pipe_context *, void *);
extern void
-cell_delete_depth_stencil_state(struct pipe_context *, void *);
+cell_delete_depth_stencil_alpha_state(struct pipe_context *, void *);
void *cell_create_fs_state(struct pipe_context *,
diff --git a/src/mesa/pipe/cell/ppu/cell_state_blend.c b/src/mesa/pipe/cell/ppu/cell_state_blend.c
index efcb9e38a4..da3fcfd3a5 100644
--- a/src/mesa/pipe/cell/ppu/cell_state_blend.c
+++ b/src/mesa/pipe/cell/ppu/cell_state_blend.c
@@ -71,8 +71,8 @@ void cell_set_blend_color( struct pipe_context *pipe,
void *
-cell_create_depth_stencil_state(struct pipe_context *pipe,
- const struct pipe_depth_stencil_alpha_state *depth_stencil)
+cell_create_depth_stencil_alpha_state(struct pipe_context *pipe,
+ const struct pipe_depth_stencil_alpha_state *depth_stencil)
{
struct pipe_depth_stencil_alpha_state *state =
MALLOC( sizeof(struct pipe_depth_stencil_alpha_state) );
@@ -81,8 +81,8 @@ cell_create_depth_stencil_state(struct pipe_context *pipe,
}
void
-cell_bind_depth_stencil_state(struct pipe_context *pipe,
- void *depth_stencil)
+cell_bind_depth_stencil_alpha_state(struct pipe_context *pipe,
+ void *depth_stencil)
{
struct cell_context *cell = cell_context(pipe);
@@ -92,7 +92,7 @@ cell_bind_depth_stencil_state(struct pipe_context *pipe,
}
void
-cell_delete_depth_stencil_state(struct pipe_context *pipe, void *depth)
+cell_delete_depth_stencil_alpha_state(struct pipe_context *pipe, void *depth)
{
FREE( depth );
}