mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 05:00:09 +01:00
Fix glitch with pool alignments.
This commit is contained in:
parent
1456a0fff6
commit
e48db4430f
2 changed files with 2 additions and 2 deletions
|
|
@ -95,7 +95,7 @@ static void brw_init_pool( struct brw_context *brw,
|
|||
pool->size = size;
|
||||
pool->brw = brw;
|
||||
|
||||
bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer, 0);
|
||||
bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer, 12);
|
||||
|
||||
/* Also want to say not to wait on fences when data is presented
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -634,7 +634,7 @@ static struct buffer *do_GenBuffer(struct intel_context *intel, const char *name
|
|||
|
||||
buf->id = ++bm->buf_nr;
|
||||
buf->name = name;
|
||||
buf->alignment = align ? align : 6;
|
||||
buf->alignment = align;
|
||||
buf->flags = BM_MEM_AGP|BM_MEM_VRAM|BM_MEM_LOCAL;
|
||||
|
||||
return buf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue