mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
cell: Multiple rendering contexts don't work yet
Log a message and forcibly exit. This prevents silly fools from thinking there's a bug...instead of just an unimplemented feature. :)
This commit is contained in:
parent
dbf12dcdb7
commit
75dac3959f
1 changed files with 10 additions and 0 deletions
|
|
@ -97,8 +97,18 @@ static void *cell_thread_function(void *arg)
|
|||
void
|
||||
cell_start_spus(struct cell_context *cell)
|
||||
{
|
||||
static boolean one_time_init = FALSE;
|
||||
uint i, j;
|
||||
|
||||
|
||||
if (one_time_init) {
|
||||
fprintf(stderr, "PPU: Multiple rendering contexts not yet supported "
|
||||
"on Cell.\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
one_time_init = TRUE;
|
||||
|
||||
assert(cell->num_spus <= MAX_SPUS);
|
||||
|
||||
ASSERT_ALIGN16(&cell_global.command[0]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue