gallium/auxiliary/vl: Change weave compute shader implementation
authorJames Zhu <James.Zhu@amd.com>
Wed, 6 Mar 2019 17:36:37 +0000 (12:36 -0500)
committerLeo Liu <leo.liu@amd.com>
Fri, 15 Mar 2019 15:53:15 +0000 (11:53 -0400)
commitabfd572bd2faf58eb39722e76e19431c2242b06b
treeb0d8f13d6f5aaa1cc52f05178eac48748d8521e0
parenta8ee07d83e7e0e6e8ae2b45bdeefd5c38a328c25
gallium/auxiliary/vl: Change weave compute shader implementation

Use 2D_ARRARY instead of RECT to fetch texels for weave compute
shader.

Problem 2,3: Fixed interpolation issue with weave de-interlace

Fixes: 9364d66cb7f7 (Add video compositor compute shader render)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109646
Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Tested-by: Bruno Milreu <bmilreu@gmail.com>
src/gallium/auxiliary/vl/vl_compositor_cs.c