summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-06 09:48:56 -0700
committerBrian <[email protected]>2008-02-06 09:48:56 -0700
commitc4e0d725dc9f18aed2babed344bb4e42df9e481f (patch)
tree848458c61e1db5a72dda6700a0f6f741e72690b1 /src/mesa/pipe
parent2ed6604f50bc06cfd44b429f476588381113db9c (diff)
Cell: silence unused var warnings
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/cell/ppu/cell_state_fs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_state_fs.c b/src/mesa/pipe/cell/ppu/cell_state_fs.c
index 81c2ac14ddc..96a52273b01 100644
--- a/src/mesa/pipe/cell/ppu/cell_state_fs.c
+++ b/src/mesa/pipe/cell/ppu/cell_state_fs.c
@@ -45,7 +45,7 @@ void *
cell_create_fs_state(struct pipe_context *pipe,
const struct pipe_shader_state *templ)
{
- struct cell_context *cell = cell_context(pipe);
+ /*struct cell_context *cell = cell_context(pipe);*/
struct cell_fragment_shader_state *state;
state = CALLOC_STRUCT(cell_fragment_shader_state);
@@ -94,8 +94,6 @@ cell_bind_fs_state(struct pipe_context *pipe, void *fs)
void
cell_delete_fs_state(struct pipe_context *pipe, void *fs)
{
- struct cell_context *cell = cell_context(pipe);
-
struct cell_fragment_shader_state *state =
(struct cell_fragment_shader_state *) fs;