cell: fix breakage from xlib re-org

Some of these fixes are quick band-aids for now.
This commit is contained in:
Brian Paul
2009-01-08 08:29:42 -07:00
parent 94222d58e7
commit a129c7268a
5 changed files with 11 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ CONFIG_NAME = linux-cell
# Omiting other gallium drivers:
GALLIUM_DRIVER_DIRS = cell softpipe
GALLIUM_DRIVER_DIRS = cell softpipe trace
# Compiler and flags

View File

@@ -39,8 +39,7 @@ SOURCES = \
cell_texture.c \
cell_vbuf.c \
cell_vertex_fetch.c \
cell_vertex_shader.c \
cell_winsys.c
cell_vertex_shader.c
OBJECTS = $(SOURCES:.c=.o) \

View File

@@ -199,7 +199,11 @@ xlib_create_brw_context( struct pipe_screen *screen,
/* Create the i965simple context:
*/
#ifdef GALLIUM_CELL
return NULL;
#else
return brw_create( screen,
&xbcws->brw_context_winsys,
0 );
#endif
}

View File

@@ -352,7 +352,11 @@ xlib_create_brw_winsys( void )
struct pipe_screen *
xlib_create_brw_screen( struct pipe_winsys *winsys )
{
#ifdef GALLIUM_CELL
return NULL;
#else
return brw_create_screen(winsys, 0/* XXX pci_id */);
#endif
}

View File

@@ -708,7 +708,7 @@ xlib_create_cell_winsys( void )
struct pipe_screen *
xlib_create_cell_screen( struct pipe_winsys *pws )
{
return xlib_create_softpipe_screen( pws );
return cell_create_screen( pws );
}