cell: fix breakage from xlib re-org
Some of these fixes are quick band-aids for now.
This commit is contained in:
@@ -6,7 +6,7 @@ CONFIG_NAME = linux-cell
|
|||||||
|
|
||||||
|
|
||||||
# Omiting other gallium drivers:
|
# Omiting other gallium drivers:
|
||||||
GALLIUM_DRIVER_DIRS = cell softpipe
|
GALLIUM_DRIVER_DIRS = cell softpipe trace
|
||||||
|
|
||||||
|
|
||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
|
@@ -39,8 +39,7 @@ SOURCES = \
|
|||||||
cell_texture.c \
|
cell_texture.c \
|
||||||
cell_vbuf.c \
|
cell_vbuf.c \
|
||||||
cell_vertex_fetch.c \
|
cell_vertex_fetch.c \
|
||||||
cell_vertex_shader.c \
|
cell_vertex_shader.c
|
||||||
cell_winsys.c
|
|
||||||
|
|
||||||
|
|
||||||
OBJECTS = $(SOURCES:.c=.o) \
|
OBJECTS = $(SOURCES:.c=.o) \
|
||||||
|
@@ -199,7 +199,11 @@ xlib_create_brw_context( struct pipe_screen *screen,
|
|||||||
|
|
||||||
/* Create the i965simple context:
|
/* Create the i965simple context:
|
||||||
*/
|
*/
|
||||||
|
#ifdef GALLIUM_CELL
|
||||||
|
return NULL;
|
||||||
|
#else
|
||||||
return brw_create( screen,
|
return brw_create( screen,
|
||||||
&xbcws->brw_context_winsys,
|
&xbcws->brw_context_winsys,
|
||||||
0 );
|
0 );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
@@ -352,7 +352,11 @@ xlib_create_brw_winsys( void )
|
|||||||
struct pipe_screen *
|
struct pipe_screen *
|
||||||
xlib_create_brw_screen( struct pipe_winsys *winsys )
|
xlib_create_brw_screen( struct pipe_winsys *winsys )
|
||||||
{
|
{
|
||||||
|
#ifdef GALLIUM_CELL
|
||||||
|
return NULL;
|
||||||
|
#else
|
||||||
return brw_create_screen(winsys, 0/* XXX pci_id */);
|
return brw_create_screen(winsys, 0/* XXX pci_id */);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -708,7 +708,7 @@ xlib_create_cell_winsys( void )
|
|||||||
struct pipe_screen *
|
struct pipe_screen *
|
||||||
xlib_create_cell_screen( struct pipe_winsys *pws )
|
xlib_create_cell_screen( struct pipe_winsys *pws )
|
||||||
{
|
{
|
||||||
return xlib_create_softpipe_screen( pws );
|
return cell_create_screen( pws );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user