diff options
Diffstat (limited to 'src/gallium/auxiliary/postprocess/pp_run.c')
-rw-r--r-- | src/gallium/auxiliary/postprocess/pp_run.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_run.c b/src/gallium/auxiliary/postprocess/pp_run.c index 81b538c4475..c71dbe9adb6 100644 --- a/src/gallium/auxiliary/postprocess/pp_run.c +++ b/src/gallium/auxiliary/postprocess/pp_run.c @@ -208,7 +208,7 @@ pp_run(struct pp_queue_t *ppq, struct pipe_resource *in, /** Setup this resource as the filter input. */ void -pp_filter_setup_in(struct program *p, struct pipe_resource *in) +pp_filter_setup_in(struct pp_program *p, struct pipe_resource *in) { struct pipe_sampler_view v_tmp; u_sampler_view_default_template(&v_tmp, in, in->format); @@ -217,7 +217,7 @@ pp_filter_setup_in(struct program *p, struct pipe_resource *in) /** Setup this resource as the filter output. */ void -pp_filter_setup_out(struct program *p, struct pipe_resource *out) +pp_filter_setup_out(struct pp_program *p, struct pipe_resource *out) { p->surf.format = out->format; @@ -226,7 +226,7 @@ pp_filter_setup_out(struct program *p, struct pipe_resource *out) /** Clean up the input and output set with the above. */ void -pp_filter_end_pass(struct program *p) +pp_filter_end_pass(struct pp_program *p) { pipe_surface_reference(&p->framebuffer.cbufs[0], NULL); pipe_sampler_view_reference(&p->view, NULL); @@ -277,7 +277,7 @@ pp_tgsi_to_state(struct pipe_context *pipe, const char *text, bool isvs, /** Setup misc state for the filter. */ void -pp_filter_misc_state(struct program *p) +pp_filter_misc_state(struct pp_program *p) { cso_set_blend(p->cso, &p->blend); cso_set_depth_stencil_alpha(p->cso, &p->depthstencil); @@ -289,7 +289,7 @@ pp_filter_misc_state(struct program *p) /** Draw with the filter to the set output. */ void -pp_filter_draw(struct program *p) +pp_filter_draw(struct pp_program *p) { util_draw_vertex_buffer(p->pipe, p->cso, p->vbuf, 0, 0, PIPE_PRIM_QUADS, 4, 2); @@ -297,14 +297,14 @@ pp_filter_draw(struct program *p) /** Set the framebuffer as active. */ void -pp_filter_set_fb(struct program *p) +pp_filter_set_fb(struct pp_program *p) { cso_set_framebuffer(p->cso, &p->framebuffer); } /** Set the framebuffer as active and clear it. */ void -pp_filter_set_clear_fb(struct program *p) +pp_filter_set_clear_fb(struct pp_program *p) { cso_set_framebuffer(p->cso, &p->framebuffer); p->pipe->clear(p->pipe, PIPE_CLEAR_COLOR, &p->clear_color, 0, 0); |