X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Fvl%2Fvl_zscan.h;h=27411f21d52b47b67f1e953ee6ca9611a7b0ca36;hb=a3ed98f7aa85636579a5696bf036ec13e5c9104a;hp=be12b8e873a2ab450e07e74b4ab4589e631885f3;hpb=003401f95c9b59471c22368b7da16fe7a951e490;p=mesa.git diff --git a/src/gallium/auxiliary/vl/vl_zscan.h b/src/gallium/auxiliary/vl/vl_zscan.h index be12b8e873a..27411f21d52 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.h +++ b/src/gallium/auxiliary/vl/vl_zscan.h @@ -28,8 +28,8 @@ #ifndef vl_zscan_h #define vl_zscan_h -#include -#include +#include "pipe/p_compiler.h" +#include "pipe/p_state.h" /* * shader based zscan and quantification @@ -57,8 +57,6 @@ struct vl_zscan struct vl_zscan_buffer { - struct vl_zscan *zscan; - struct pipe_viewport_state viewport; struct pipe_framebuffer_state fb_state; @@ -93,11 +91,10 @@ 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]); +vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, + const uint8_t matrix[64], bool intra); void -vl_zscan_render(struct vl_zscan_buffer *buffer, unsigned num_instances); +vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances); #endif