Commit 058b3cdd authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig

es2gears works \ o /

parent 07995a6b
......@@ -793,7 +793,7 @@ static void
trans_emit_for_draw(struct panfrost_context *ctx)
{
/* XXX: What's the actual condition for this? */
ctx->dirty |= PAN_DIRTY_VARYINGS;
ctx->dirty |= ~0; /* PAN_DIRTY_VARYINGS; */
if (ctx->dirty & PAN_DIRTY_VERT_BUF) {
/* TODO: Only update the dirtied buffers */
......@@ -2142,7 +2142,7 @@ trans_setup_hardware(struct panfrost_context *ctx)
{
ctx->fd = pandev_open();
trans_allocate_slab(ctx, &ctx->cmdstream, 8*64, true, true, 0, 0, 0);
trans_allocate_slab(ctx, &ctx->cmdstream, 8*64*4, true, true, 0, 0, 0);
trans_allocate_slab(ctx, &ctx->textures, 4*64*64, true, true, 0, 0, 0);
trans_allocate_slab(ctx, &ctx->scratchpad, 16, true, true, 0, 0, 0);
trans_allocate_slab(ctx, &ctx->varying_mem, 32, false, true, MALI_MEM_COHERENT_LOCAL, 0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment