From ccc80d2c09ad35f867c0c0a85f7e1cadd73941bb Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 11 Apr 2011 23:55:36 +0200 Subject: [g3dvl] fully support different formats for source and intermediate textures --- src/gallium/auxiliary/vl/vl_idct.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/auxiliary/vl/vl_idct.h') diff --git a/src/gallium/auxiliary/vl/vl_idct.h b/src/gallium/auxiliary/vl/vl_idct.h index e695e32efe3..0875f17476c 100644 --- a/src/gallium/auxiliary/vl/vl_idct.h +++ b/src/gallium/auxiliary/vl/vl_idct.h @@ -50,6 +50,7 @@ struct vl_idct void *matrix_fs, *transpose_fs; struct pipe_sampler_view *matrix; + struct pipe_sampler_view *transpose; }; /* a set of buffers to work with */ @@ -77,7 +78,8 @@ bool vl_idct_init(struct vl_idct *idct, struct pipe_context *pipe, unsigned buffer_width, unsigned buffer_height, unsigned blocks_x, unsigned blocks_y, unsigned nr_of_render_targets, - struct pipe_sampler_view *matrix); + struct pipe_sampler_view *matrix, + struct pipe_sampler_view *transpose); /* destroy an idct instance */ void vl_idct_cleanup(struct vl_idct *idct); -- cgit v1.2.3