diff options
author | Christian König <[email protected]> | 2011-05-29 19:53:45 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-05-29 20:07:57 +0200 |
commit | 912dc8ff09cd7c28926762c2e562de5a99d3e27a (patch) | |
tree | bbb911a8722e8a7f49699517db8de278d221033a /src/gallium/auxiliary/vl/vl_zscan.h | |
parent | ae56a1dd67040dc5d53f4a1622f775462f0fec05 (diff) |
[g3dvl] move quantification into shaders
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_zscan.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_zscan.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gallium/auxiliary/vl/vl_zscan.h b/src/gallium/auxiliary/vl/vl_zscan.h index ccc6bc4a8a1..be12b8e873a 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.h +++ b/src/gallium/auxiliary/vl/vl_zscan.h @@ -53,8 +53,6 @@ struct vl_zscan void *samplers[3]; void *vs, *fs; - - struct pipe_sampler_view *quant; }; struct vl_zscan_buffer @@ -84,11 +82,6 @@ vl_zscan_init(struct vl_zscan *zscan, struct pipe_context *pipe, void vl_zscan_cleanup(struct vl_zscan *zscan); -#if 0 -void -vl_zscan_upload_quant(struct vl_zscan *zscan, ...); -#endif - bool vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, struct pipe_sampler_view *src, struct pipe_surface *dst); @@ -100,6 +93,11 @@ void vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout); void +vl_zscan_upload_quant(struct vl_zscan_buffer *buffer, + const uint8_t intra_matrix[64], + const uint8_t non_intra_matrix[64]); + +void vl_zscan_render(struct vl_zscan_buffer *buffer, unsigned num_instances); #endif |