mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 20:00:24 +01:00
i965: Reset the "need new CURBE BO" flag when we make a new CURBE bo.
Improves cairo-gl gnome-terminal-vim times by 11%.
This commit is contained in:
parent
67e5fd7397
commit
3e498207d1
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ static void prepare_constant_buffer(struct brw_context *brw)
|
|||
brw->curbe.curbe_bo = dri_bo_alloc(brw->intel.bufmgr, "CURBE",
|
||||
4096, 1 << 6);
|
||||
brw->curbe.curbe_next_offset = 0;
|
||||
brw->curbe.need_new_bo = GL_FALSE;
|
||||
}
|
||||
|
||||
brw->curbe.curbe_offset = brw->curbe.curbe_next_offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue