Lines Matching refs:ppq
75 pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, in pp_jimenezmlaa_run() argument
79 struct program *p = ppq->p; in pp_jimenezmlaa_run()
112 p->framebuffer.zsbuf = ppq->stencils; in pp_jimenezmlaa_run()
118 pp_filter_setup_in(p, ppq->depth); in pp_jimenezmlaa_run()
120 pp_filter_setup_out(p, ppq->inner_tmp[0]); in pp_jimenezmlaa_run()
132 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */ in pp_jimenezmlaa_run()
133 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][2]); in pp_jimenezmlaa_run()
146 pp_filter_setup_out(p, ppq->inner_tmp[1]); in pp_jimenezmlaa_run()
148 u_sampler_view_default_template(&v_tmp, ppq->inner_tmp[0], in pp_jimenezmlaa_run()
149 ppq->inner_tmp[0]->format); in pp_jimenezmlaa_run()
151 ppq->inner_tmp[0], &v_tmp); in pp_jimenezmlaa_run()
163 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][0]); /* passvs */ in pp_jimenezmlaa_run()
164 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][3]); in pp_jimenezmlaa_run()
173 pp_filter_setup_in(p, ppq->inner_tmp[1]); in pp_jimenezmlaa_run()
194 cso_set_vertex_shader_handle(p->cso, ppq->shaders[n][1]); /* offsetvs */ in pp_jimenezmlaa_run()
195 cso_set_fragment_shader_handle(p->cso, ppq->shaders[n][4]); in pp_jimenezmlaa_run()
210 pp_jimenezmlaa_init_run(struct pp_queue_t *ppq, unsigned int n, in pp_jimenezmlaa_init_run() argument
218 constbuf = pipe_buffer_create(ppq->p->screen, PIPE_BIND_CONSTANT_BUFFER, in pp_jimenezmlaa_init_run()
248 if (!ppq->p->screen->is_format_supported(ppq->p->screen, res.format, in pp_jimenezmlaa_init_run()
252 areamaptex = ppq->p->screen->resource_create(ppq->p->screen, &res); in pp_jimenezmlaa_init_run()
255 ppq->p->pipe->transfer_inline_write(ppq->p->pipe, areamaptex, 0, in pp_jimenezmlaa_init_run()
261 ppq->shaders[n][1] = pp_tgsi_to_state(ppq->p->pipe, offsetvs, true, in pp_jimenezmlaa_init_run()
264 ppq->shaders[n][2] = pp_tgsi_to_state(ppq->p->pipe, color1fs, in pp_jimenezmlaa_init_run()
267 ppq->shaders[n][2] = pp_tgsi_to_state(ppq->p->pipe, depth1fs, in pp_jimenezmlaa_init_run()
269 ppq->shaders[n][3] = pp_tgsi_to_state(ppq->p->pipe, tmp_text, false, in pp_jimenezmlaa_init_run()
271 ppq->shaders[n][4] = pp_tgsi_to_state(ppq->p->pipe, neigh3fs, false, in pp_jimenezmlaa_init_run()
279 pp_jimenezmlaa_init(struct pp_queue_t *ppq, unsigned int n, unsigned int val) in pp_jimenezmlaa_init() argument
282 pp_jimenezmlaa_init_run(ppq, n, val, false); in pp_jimenezmlaa_init()
287 pp_jimenezmlaa_init_color(struct pp_queue_t *ppq, unsigned int n, in pp_jimenezmlaa_init_color() argument
291 pp_jimenezmlaa_init_run(ppq, n, val, true); in pp_jimenezmlaa_init_color()
296 pp_jimenezmlaa(struct pp_queue_t *ppq, struct pipe_resource *in, in pp_jimenezmlaa() argument
299 pp_jimenezmlaa_run(ppq, in, out, n, false); in pp_jimenezmlaa()
304 pp_jimenezmlaa_color(struct pp_queue_t *ppq, struct pipe_resource *in, in pp_jimenezmlaa_color() argument
307 pp_jimenezmlaa_run(ppq, in, out, n, true); in pp_jimenezmlaa_color()