mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
Cell: set GALLIUM_CELL_VS env var to enable SPU-based vertex transformation
This commit is contained in:
parent
c7403b1847
commit
4d3f3f749f
1 changed files with 6 additions and 2 deletions
|
|
@ -162,8 +162,12 @@ cell_draw_create(struct cell_context *cell)
|
|||
{
|
||||
struct draw_context *draw = draw_create();
|
||||
|
||||
draw->shader_queue_flush = cell_vertex_shader_queue_flush;
|
||||
draw->driver_private = cell;
|
||||
if (getenv("GALLIUM_CELL_VS")) {
|
||||
/* plug in SPU-based vertex transformation code */
|
||||
draw->shader_queue_flush = cell_vertex_shader_queue_flush;
|
||||
draw->driver_private = cell;
|
||||
}
|
||||
|
||||
return draw;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue