From: James Zhu Date: Tue, 19 Mar 2019 19:45:29 +0000 (-0400) Subject: gallium/auxiliary/vl: Fixed blur issue with weave compute shader X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32b861d46d36178f43fd6ba3659fe5382471458b;p=mesa.git gallium/auxiliary/vl: Fixed blur issue with weave compute shader Correct wrong interpolatation with top/bottom row which caused blur issue. Signed-off-by: James Zhu Tested-by: Bruno Milreu Reviewed-by: Marek Olšák --- diff --git a/src/gallium/auxiliary/vl/vl_compositor_cs.c b/src/gallium/auxiliary/vl/vl_compositor_cs.c index bad7d5f0ea8..6336b235458 100644 --- a/src/gallium/auxiliary/vl/vl_compositor_cs.c +++ b/src/gallium/auxiliary/vl/vl_compositor_cs.c @@ -201,7 +201,7 @@ const char *compute_shader_weave = "TEX_LZ TEMP[11].y, TEMP[13], SAMP[1], 2D_ARRAY\n" "TEX_LZ TEMP[11].z, TEMP[13], SAMP[2], 2D_ARRAY\n" - "LRP TEMP[6], TEMP[14], TEMP[11], TEMP[10]\n" + "LRP TEMP[6], TEMP[14], TEMP[10], TEMP[11]\n" "MOV TEMP[6].w, IMM[1].xxxx\n" /* Color Space Conversion */