Lines Matching defs:out
185 agx_pack_rasterizer_face(struct agx_rasterizer_face_packed *out,
190 agx_pack(out, RASTERIZER_FACE, cfg) {
912 agx_update_shader(struct agx_context *ctx, struct agx_compiled_shader **out,
921 if ((*out) == he->data)
924 *out = he->data;
989 *out = he->data;
1410 struct agx_rasterizer_packed out;
1412 agx_pack(&out, RASTERIZER, cfg) {
1425 * optimize this out if the viewport is the default and the app does not
1433 out.opaque[2] |= ctx->zs.front.opaque[0];
1434 out.opaque[3] |= ctx->zs.front.opaque[1];
1437 out.opaque[4] |= ctx->zs.back.opaque[0];
1438 out.opaque[5] |= ctx->zs.back.opaque[1];
1440 return agx_pool_upload_aligned(pool, &out, sizeof(out), 64);
1486 agx_push_record(uint8_t **out, unsigned size_words, uint64_t ptr)
1491 agx_pack(*out, RECORD, cfg) {
1497 *out += AGX_RECORD_LENGTH;
1501 agx_encode_state(struct agx_context *ctx, uint8_t *out,
1505 agx_pack(out, BIND_PIPELINE, cfg) {
1514 out += AGX_BIND_PIPELINE_LENGTH;
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));
1538 agx_push_record(&out, 10, vps.viewport);
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)));
1545 return out;
1632 uint8_t *out = agx_encode_state(ctx, batch->encoder_current,
1649 agx_pack(out, INDEXED_DRAW, cfg) {
1662 out += AGX_INDEXED_DRAW_LENGTH;
1664 agx_pack(out, DRAW, cfg) {
1671 out += AGX_DRAW_LENGTH;
1674 batch->encoder_current = out;