mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
Cell: fix asst. warnings
This commit is contained in:
parent
c753e7adde
commit
95ff06d610
5 changed files with 9 additions and 5 deletions
|
|
@ -29,6 +29,8 @@
|
|||
#ifndef CELL_BATCH_H
|
||||
#define CELL_BATCH_H
|
||||
|
||||
#include "pipe/p_compiler.h"
|
||||
|
||||
|
||||
struct cell_context;
|
||||
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
|
||||
#include "cell_context.h"
|
||||
#include "cell_batch.h"
|
||||
#include "cell_flush.h"
|
||||
#include "cell_spu.h"
|
||||
#include "cell_render.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue