Lines Matching defs:pctx
48 agx_create_stream_output_target(struct pipe_context *pctx,
55 target = &rzalloc(pctx, struct agx_streamout_target)->base;
63 target->context = pctx;
71 agx_stream_output_target_destroy(struct pipe_context *pctx,
79 agx_set_stream_output_targets(struct pipe_context *pctx,
84 struct agx_context *ctx = agx_context(pctx);
103 agx_set_blend_color(struct pipe_context *pctx,
106 struct agx_context *ctx = agx_context(pctx);
167 agx_bind_blend_state(struct pipe_context *pctx, void *cso)
169 struct agx_context *ctx = agx_context(pctx);
253 agx_bind_zsa_state(struct pipe_context *pctx, void *cso)
255 struct agx_context *ctx = agx_context(pctx);
286 agx_bind_rasterizer_state(struct pipe_context *pctx, void *cso)
288 struct agx_context *ctx = agx_context(pctx);
340 agx_create_sampler_state(struct pipe_context *pctx,
343 struct agx_device *dev = agx_device(pctx->screen);
377 agx_bind_sampler_states(struct pipe_context *pctx,
382 struct agx_context *ctx = agx_context(pctx);
438 agx_create_sampler_view(struct pipe_context *pctx,
442 struct agx_device *dev = agx_device(pctx->screen);
505 so->base.context = pctx;
510 agx_set_sampler_views(struct pipe_context *pctx,
517 struct agx_context *ctx = agx_context(pctx);
600 agx_set_scissor_states(struct pipe_context *pctx,
605 struct agx_context *ctx = agx_context(pctx);
615 agx_set_stencil_ref(struct pipe_context *pctx,
618 struct agx_context *ctx = agx_context(pctx);
623 agx_set_viewport_states(struct pipe_context *pctx,
628 struct agx_context *ctx = agx_context(pctx);
732 agx_set_framebuffer_state(struct pipe_context *pctx,
735 struct agx_context *ctx = agx_context(pctx);
741 pctx->flush(pctx, NULL, 0);
789 agx_set_constant_buffer(struct pipe_context *pctx,
794 struct agx_context *ctx = agx_context(pctx);
824 agx_set_vertex_buffers(struct pipe_context *pctx,
830 struct agx_context *ctx = agx_context(pctx);
871 agx_bind_vertex_elements_state(struct pipe_context *pctx, void *cso)
873 struct agx_context *ctx = agx_context(pctx);
889 agx_create_shader_state(struct pipe_context *pctx,
903 so->nir = tgsi_to_nir(cso->tokens, pctx->screen, false);
1040 agx_bind_shader_state(struct pipe_context *pctx, void *cso)
1045 struct agx_context *ctx = agx_context(pctx);
1594 agx_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
1601 util_draw_multi(pctx, info, drawid_offset, indirect, draws, num_draws);
1608 struct agx_context *ctx = agx_context(pctx);