Some of these fixes are quick band-aids for now.
# Omiting other gallium drivers:
-GALLIUM_DRIVER_DIRS = cell softpipe
+GALLIUM_DRIVER_DIRS = cell softpipe trace
# Compiler and flags
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) \
/* Create the i965simple context:
*/
+#ifdef GALLIUM_CELL
+ return NULL;
+#else
return brw_create( screen,
&xbcws->brw_context_winsys,
0 );
+#endif
}
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
}
struct pipe_screen *
xlib_create_cell_screen( struct pipe_winsys *pws )
{
- return xlib_create_softpipe_screen( pws );
+ return cell_create_screen( pws );
}