Lines Matching refs:pool

643 agx_upload_viewport_scissor(struct agx_pool *pool,
648 struct agx_ptr T = agx_pool_alloc_aligned(pool, AGX_VIEWPORT_LENGTH, 64);
1228 struct agx_ptr sampler = agx_pool_alloc_aligned(&ctx->batch->pool, AGX_SAMPLER_LENGTH, 64);
1229 struct agx_ptr texture = agx_pool_alloc_aligned(&ctx->batch->pool, AGX_TEXTURE_LENGTH, 64);
1337 cfg.buffer = agx_pool_upload_aligned(&ctx->batch->pool, unk, sizeof(unk), 16);
1363 demo_launch_fragment(struct agx_context *ctx, struct agx_pool *pool, uint32_t pipeline, uint32_t varyings, unsigned input_count)
1365 struct agx_ptr t = agx_pool_alloc_aligned(pool, AGX_BIND_PIPELINE_LENGTH, 64);
1380 demo_interpolation(struct agx_compiled_shader *fs, struct agx_pool *pool)
1382 struct agx_ptr t = agx_pool_alloc_aligned(pool, AGX_INTERPOLATION_LENGTH, 64);
1392 demo_linkage(struct agx_compiled_shader *vs, struct agx_pool *pool)
1394 struct agx_ptr t = agx_pool_alloc_aligned(pool, AGX_LINKAGE_LENGTH, 64);
1407 demo_rasterizer(struct agx_context *ctx, struct agx_pool *pool, bool is_points)
1440 return agx_pool_upload_aligned(pool, &out, sizeof(out), 64);
1444 demo_unk11(struct agx_pool *pool, bool prim_lines, bool prim_points, bool reads_tib, bool sample_mask_from_shader)
1446 struct agx_ptr T = agx_pool_alloc_aligned(pool, AGX_UNKNOWN_4A_LENGTH, 64);
1461 demo_unk12(struct agx_pool *pool)
1469 return agx_pool_upload(pool, unk, sizeof(unk));
1473 agx_set_index(struct agx_pool *pool, uint16_t scissor, uint16_t zbias)
1475 struct agx_ptr T = agx_pool_alloc_aligned(pool, AGX_SET_INDEX_LENGTH, 64);
1516 struct agx_pool *pool = &ctx->batch->pool;
1520 agx_push_record(&out, 5, demo_interpolation(ctx->fs, pool));
1521 agx_push_record(&out, 5, demo_launch_fragment(ctx, pool, pipeline_fragment, varyings, ctx->fs->info.varyings.nr_descs));
1522 agx_push_record(&out, 4, demo_linkage(ctx->vs, pool));
1523 agx_push_record(&out, 7, demo_rasterizer(ctx, pool, is_points));
1524 agx_push_record(&out, 5, demo_unk11(pool, is_lines, is_points, reads_tib, sample_mask_from_shader));
1534 struct agx_viewport_scissor vps = agx_upload_viewport_scissor(pool,
1539 agx_push_record(&out, 2, agx_set_index(pool, vps.scissor, zbias));
1542 agx_push_record(&out, 3, demo_unk12(pool));
1543 agx_push_record(&out, 2, agx_pool_upload(pool, ctx->rast->cull, sizeof(ctx->rast->cull)));
1578 return agx_pool_upload_aligned(&batch->pool,