diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/i965_render.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index 3c7379c3..1cbfe242 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -60,7 +60,7 @@ do { \ #endif #define MAX_VERTEX_PER_COMPOSITE 24 -#define MAX_VERTEX_BUFFERS 1 +#define MAX_VERTEX_BUFFERS 256 struct blendinfo { Bool dst_alpha; @@ -1401,7 +1401,8 @@ i965_composite(PixmapPtr pDst, int srcX, int srcY, int maskX, int maskY, } assert (i * 4 <= sizeof(card_state->vb)); - BEGIN_BATCH(11); + BEGIN_BATCH(12); + OUT_BATCH(MI_FLUSH); /* Set up the pointer to our (single) vertex buffer */ OUT_BATCH(BRW_3DSTATE_VERTEX_BUFFERS | 3); OUT_BATCH((0 << VB0_BUFFER_INDEX_SHIFT) | |