vl: add zig zag scan for list 4x4
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org> Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
848a023c05
commit
4f598f2173
|
@ -49,6 +49,13 @@ enum VS_OUTPUT
|
|||
VS_O_VTEX = 0
|
||||
};
|
||||
|
||||
const int vl_zscan_normal_16[] =
|
||||
{
|
||||
/* Zig-Zag scan pattern */
|
||||
0, 1, 4, 8, 5, 2, 3, 6,
|
||||
9,12,13,10, 7,11,14,15
|
||||
};
|
||||
|
||||
const int vl_zscan_linear[] =
|
||||
{
|
||||
/* Linear scan pattern */
|
||||
|
|
|
@ -64,6 +64,7 @@ struct vl_zscan_buffer
|
|||
struct pipe_surface *dst;
|
||||
};
|
||||
|
||||
extern const int vl_zscan_normal_16[];
|
||||
extern const int vl_zscan_linear[];
|
||||
extern const int vl_zscan_normal[];
|
||||
extern const int vl_zscan_alternate[];
|
||||
|
|
Loading…
Reference in New Issue