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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user