mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
turnip: Account for additional_cs_reserve_size for both bin and render.
Both emit_program() calls will use this space. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17102>
This commit is contained in:
parent
e082b26458
commit
7d9a824d27
1 changed files with 2 additions and 1 deletions
|
|
@ -2347,7 +2347,8 @@ tu_pipeline_allocate_cs(struct tu_device *dev,
|
|||
}
|
||||
}
|
||||
|
||||
size += builder->additional_cs_reserve_size;
|
||||
/* The additional size is used twice, once per tu6_emit_program() call. */
|
||||
size += builder->additional_cs_reserve_size * 2;
|
||||
} else {
|
||||
size += compute->info.size / 4;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue