From 0c0e5b71c0fb18f7ead2884a8c1429d00c090e18 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Sep 2008 08:26:47 -0600 Subject: cell: updated docs/status --- docs/cell.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/cell.html b/docs/cell.html index e1160b2428..d61b57da80 100644 --- a/docs/cell.html +++ b/docs/cell.html @@ -77,21 +77,29 @@ SPU local store as needed. Similarly, textures are tiled and brought into local store as needed.

-

-More recently, vertex transformation has been parallelized across the SPUs -as well. -

-

Status

-As of February 2008 the driver supports smooth/flat shaded triangle rendering +As of September 2008, the driver supports smooth/flat shaded triangle rendering with Z testing and simple texture mapping. Simple demos like gears run successfully. To test texture mapping, try progs/demos/texcyl (press right mouse button for rendering options).

+

+Runtime/dynamic code generation is being done for per-fragment +operations (Z test, blend, etc) and for fragment programs (though only a +few opcodes are implemented now). +

+

+In general, however, the driver is rather slow because all vertex +transformation is being done by an interpreter running on the PPU. +Programs with many vertices or complex vertex shaders will run especially +slow. +This will be addressed in the future. +

+

Contributing

-- cgit v1.2.3 From 9b9eba5a42103aa79702d06e8ffd541d15845932 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Sep 2008 12:04:49 -0600 Subject: cell: more documentation updates --- docs/cell.html | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/cell.html b/docs/cell.html index d61b57da80..34d9a92723 100644 --- a/docs/cell.html +++ b/docs/cell.html @@ -6,7 +6,7 @@ -

Mesa Cell Driver

+

Mesa/Gallium Cell Driver

The Mesa @@ -23,6 +23,7 @@ Two phases are planned. First, to implement the framework for parallel rasterization using the Cell SPEs, including texture mapping. Second, to implement a full-featured OpenGL driver with support for GLSL, etc. +The second phase is now underway.

@@ -43,12 +44,13 @@ or the Cell Simulator (untested, though).

-If using Cell SDK 3.0, first edit configs/linux-cell and add --DSPU_MAIN_PARAM_LONG_LONG to the SPU_CFLAGS. +If using Cell SDK 2.1, see the configs/linux-cell file for some +special changes.

To compile the code, run make linux-cell. +To build in debug mode, run make linux-cell-debug.

@@ -102,6 +104,26 @@ This will be addressed in the future. +

Debug Options

+ +

+The CELL_DEBUG env var can be set to a comma-separated list of one or +more of the following debug options: +

+ + +

+If the GALLIUM_NOCELL env var is set, the softpipe driver will be used +intead of the Cell driver. +This is useful for comparison/validation. +

+ + +

Contributing

-- cgit v1.2.3