Mesa (master): gallium/auxiliary/vl: Fixed blur issue with weave compute shader

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 5 13:51:52 UTC 2019


Module: Mesa
Branch: master
Commit: 32b861d46d36178f43fd6ba3659fe5382471458b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=32b861d46d36178f43fd6ba3659fe5382471458b

Author: James Zhu <James.Zhu at amd.com>
Date:   Tue Mar 19 15:45:29 2019 -0400

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 <James.Zhu at amd.com>
Tested-by: Bruno Milreu <bmilreu at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/auxiliary/vl/vl_compositor_cs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */




More information about the mesa-commit mailing list