gallium/auxiliary/vl: Fixed blur issue with weave compute shader
authorJames Zhu <James.Zhu@amd.com>
Tue, 19 Mar 2019 19:45:29 +0000 (15:45 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 5 Apr 2019 13:50:52 +0000 (09:50 -0400)
Correct wrong interpolatation with top/bottom row which caused blur issue.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Tested-by: Bruno Milreu <bmilreu@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/vl/vl_compositor_cs.c

index bad7d5f0ea8f3d521b3a3528cf43a004ffa74f85..6336b23545847d9713a8f08d55daba2f739fe1f0 100644 (file)
@@ -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 */