diff options
author | Brian Paul <[email protected]> | 2008-09-04 18:36:22 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-04 18:36:22 -0600 |
commit | 5cf2e226548f08c4b79a4eb289fd636a00079fb3 (patch) | |
tree | c1873742e3448d36efb465e2e9963655275d9ffc /src/gallium/drivers/cell/common.h | |
parent | a69fc5129bdf2f245c5bf2e0fe7b542caf7809a9 (diff) |
cell: implement CELL_DEBUG env/options var
Options so far:
"checker" module tile clear color by SPU ID to see where the tiles are
"sync" to do synchronous DMA (only partially implemented)
Diffstat (limited to 'src/gallium/drivers/cell/common.h')
-rw-r--r-- | src/gallium/drivers/cell/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/common.h b/src/gallium/drivers/cell/common.h index 6bace0bb11a..c0ca201e1d1 100644 --- a/src/gallium/drivers/cell/common.h +++ b/src/gallium/drivers/cell/common.h @@ -106,6 +106,9 @@ #define CELL_BUFFER_STATUS_USED 20 +#define CELL_DEBUG_CHECKER (1 << 0) +#define CELL_DEBUG_SYNC (1 << 1) + /** */ @@ -263,6 +266,7 @@ struct cell_init_info { unsigned id; unsigned num_spus; + unsigned debug_flags; /**< mask of CELL_DEBUG_x flags */ struct cell_command *cmd; /** Buffers for command batches, vertex/index data */ |