mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
cell: call cell_flush_int() at end of cell_create_context()
Ensures that SPUs are initialized/ready before proceeding. This fixes a spurious assertion failure when the SPU-side shader function info hasn't been returned to the PPU before shader codegen.
This commit is contained in:
parent
a13f61d34d
commit
02931db311
1 changed files with 3 additions and 0 deletions
|
|
@ -162,5 +162,8 @@ cell_create_context(struct pipe_screen *screen,
|
|||
|
||||
cell_init_batch_buffers(cell);
|
||||
|
||||
/* make sure SPU initializations are done before proceeding */
|
||||
cell_flush_int(cell, CELL_FLUSH_WAIT);
|
||||
|
||||
return &cell->pipe;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue