Cell: fix asst. warnings

This commit is contained in:
Brian 2008-01-24 16:39:34 -07:00
parent c753e7adde
commit 95ff06d610
5 changed files with 9 additions and 5 deletions

View file

@ -29,6 +29,8 @@
#ifndef CELL_BATCH_H
#define CELL_BATCH_H
#include "pipe/p_compiler.h"
struct cell_context;

View file

@ -39,6 +39,7 @@
#include "cell_clear.h"
#include "cell_context.h"
#include "cell_batch.h"
#include "cell_flush.h"
#include "cell_spu.h"
@ -47,7 +48,7 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
unsigned clearValue)
{
struct cell_context *cell = cell_context(pipe);
uint i;
/*uint i;*/
uint surfIndex;
if (!cell->cbuf_map[0])

View file

@ -26,8 +26,8 @@
**************************************************************************/
#ifndef CELL_SURFACE_H
#define CELL_SURFACE_H
#ifndef CELL_CLEAR_H
#define CELL_CLEAR_H
struct pipe_context;
@ -40,4 +40,4 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps,
#endif /* CELL_SURFACE_H */
#endif /* CELL_CLEAR_H */

View file

@ -56,7 +56,7 @@ static boolean
cell_is_format_supported( struct pipe_context *pipe,
enum pipe_format format, uint type )
{
struct cell_context *cell = cell_context( pipe );
/*struct cell_context *cell = cell_context( pipe );*/
switch (type) {
case PIPE_TEXTURE:

View file

@ -27,6 +27,7 @@
#include "cell_context.h"
#include "cell_batch.h"
#include "cell_flush.h"
#include "cell_spu.h"
#include "cell_render.h"